ExceptionCallHandler Class

An ICallHandler that runs any exceptions returned from the target through the Exception Handling Application Block.

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

Syntax

'Declaration
<ConfigurationElementTypeAttribute(GetType(ExceptionCallHandlerData))> _
Public Class ExceptionCallHandler _
    Implements ICallHandler
[ConfigurationElementTypeAttribute(typeof(ExceptionCallHandlerData))]
public class ExceptionCallHandler : ICallHandler
[ConfigurationElementTypeAttribute(typeof(ExceptionCallHandlerData))]
public ref class ExceptionCallHandler : ICallHandler
public class ExceptionCallHandler implements ICallHandler

Remarks

If the exception policy is configured to swallow exceptions, do not configure this call handler on a method with a non-void return value, as the handler doesn't know what value to return if the exception is swallowed.

Inheritance Hierarchy

System.Object
  Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.PolicyInjection.ExceptionCallHandler

See Also

ExceptionCallHandler Members

Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.PolicyInjection Namespace