Global |
public class GlobalErrorHandler : IErrorHandler
The GlobalErrorHandler type exposes the following members.
Name | Description | |
---|---|---|
GlobalErrorHandler |
Name | Description | |
---|---|---|
HandleError | 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 | |
ProvideFault | 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 |