IExceptionHandler Interface

Defines the contract for an ExceptionHandler. An ExceptionHandler contains specific handling logic (i.e. logging the exception, replacing the exception, and so forth.) that is executed in a chain of multiple ExceptionHandlers. A chain of one or more ExceptionHandlers is executed based on the exception type being handled, as well as the ExceptionPolicy.

Namespace: Microsoft.Practices.EnterpriseLibrary.ExceptionHandling
Assembly: Microsoft.Practices.EnterpriseLibrary.ExceptionHandling (in Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.dll) Version: 6.0.0.0 (6.0.1304.0)

Syntax

public interface IExceptionHandler
'Declaration
Public Interface IExceptionHandler
public interface class IExceptionHandler

See Also

IExceptionHandler Members

Microsoft.Practices.EnterpriseLibrary.ExceptionHandling Namespace

ExceptionPolicy.HandleException(Exception, String)