Error Handling in WCF

WCF is a very flexible framework. Using its extensibility mechanisms, you can explicitly control how your application behaves when an exception occurs. You can:

  • send no error information to the client at all;
  • replace the exception with a SOAP Fault;
  • replace the Fault with any other one;
  • write some data to a log;
  • perform any other actions.

Only registered users can leave a comment.

Sign in or register to leave a comment.