Compartilhar via


IExceptionHandler Interface

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Defines the contract for an ExceptionHandler. An ExceptionHandler contains specific handling logic (i.e. logging the exception, replacing the exception, etc.) 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)

Syntax

'Declaration
PublicInterfaceIExceptionHandler
publicinterfaceIExceptionHandler
publicinterface classIExceptionHandler
publicinterface IExceptionHandler

See Also

IExceptionHandler Members

Microsoft.Practices.EnterpriseLibrary.ExceptionHandling Namespace

ExceptionPolicy.HandleException(Exception, String)

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.