Attention: We are retiring the ASP.NET Community Blogs. Learn more >

WCF Custom FaultException

I was trying to return a WCF custom FaultException and just couldn’t figure out how to read the custom info I was sending from the client when I found this blog entry from Jean-Paul Smit:
http://bloggingabout.net/blogs/jpsmit/archive/2007/03/21/wcf-fault-contracts.aspx

My comprehension of the whole process was OK, I was just missing one key element and the light came thru when I read this line:

  • in ex.Detail you can find your custom fault contract

Funny how a single line of text in a short blog entry can help you a lot sometimes  :-)

No Comments