Udostępnij za pośrednictwem


ExceptionCallHandler 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.

The latest Enterprise Library information can be found at the Enterprise Library site.

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.Silverlight (in Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Silverlight.dll) Version: 5.0.505.0

Syntax

public class ExceptionCallHandler : ICallHandler
'Declaration
Public Class ExceptionCallHandler _
    Implements ICallHandler
public ref class ExceptionCallHandler : 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