When overridden in a derived class, returns true if the exception has been handled, or false if the exception should be rethrown and the application terminated.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
- Type: System.Exception
The exception the occurred within the Windows Communication Foundation (WCF) runtime and which may terminate the application.
Return ValueType: System.Boolean
true if the exception has been handled; otherwise, false.
The following code example shows an implementation of the ExceptionHandler abstract class that overrides the method.
The following code example shows how to enable the custom MyExceptionHandler for unhandled exceptions that occur within the WCF runtime.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.