Partager via


WrapHandler Class

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.

Wraps the current exception in the handling chain with a new exception of a specified type.

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

Syntax

'Declaration
<ConfigurationElementTypeAttribute(GetType(WrapHandlerData))> _
PublicClassWrapHandler _
    Implements IExceptionHandler
[ConfigurationElementTypeAttribute(typeof(WrapHandlerData))]
publicclassWrapHandler : IExceptionHandler
[ConfigurationElementTypeAttribute(typeof(WrapHandlerData))]
publicref classWrapHandler : IExceptionHandler
publicclass WrapHandler implements IExceptionHandler

Inheritance Hierarchy

System.Object
  Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.WrapHandler

See Also

WrapHandler Members

Microsoft.Practices.EnterpriseLibrary.ExceptionHandling Namespace

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.