IExceptionHandler Interface

 

Defines an unhandled exception handler.

Namespace:   System.Web.Http.ExceptionHandling
Assembly:  System.Web.Http (in System.Web.Http.dll)

public interface class IExceptionHandler

NameDescription
System_CAPS_pubmethodHandleAsync(ExceptionHandlerContext^, CancellationToken)

Process an unhandled exception, either allowing it to propagate or handling it by providing a response message to return instead.

NameDescription
System_CAPS_pubmethodHandleAsync(ExceptionContext^, CancellationToken)

Calls an exception handler and determines the response handling it, if any.(Defined by ExceptionHandlerExtensions.)

Return to top
Show: