ExceptionHandler Members

Extend the ExceptionHandler class to create an exception handler for unhandled exceptions that occur within the Windows Communication Foundation (WCF) runtime.

The ExceptionHandler type exposes the following members.

Protected method ExceptionHandler Initializes a new instance of the ExceptionHandler class.

Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method HandleException 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.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Public property Static member AlwaysHandle Gets an instance of ExceptionHandler that handles all exceptions.
Public property Static member AsynchronousThreadExceptionHandler Gets or sets the current ExceptionHandler implementation for the application domain.
Public property Static member TransportExceptionHandler Gets or sets the current transport ExceptionHandler implementation for the application domain.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft