Click or drag to resize

GlobalErrorHandler Methods

The GlobalErrorHandler type exposes the following members.

Methods
 NameDescription
Public methodHandleError The method that's get invoked if any unhandled exception raised in service Here you can do what ever logic you would like to. For example logging the exception details Here the return value indicates that the exception was handled or not Return true to stop exception propagation and system considers that the exception was handled properly else return false to abort the session
Public methodProvideFault If you want to communicate the exception details to the service client as proper fault message here is the place to do it If we want to suppress the communication about the exception, set fault to null
Top
See Also