Wcf exception handling

Posted by pdiddy on Stack Overflow See other posts from Stack Overflow or by pdiddy
Published on 2010-04-05T13:51:47Z Indexed on 2010/04/05 13:53 UTC
Read the original article Hit count: 363

Filed under:
|
|

I noticed that if you do a throw new InvalidCastException for example, the channel state on the client side is faulted. But if you throw new FaultException, the channel state on the client side is opened.

By curiosity, what is the reason why one faults the channel and the other doesn't?

© Stack Overflow or respective owner

Related posts about wcf

Related posts about .NET