IExceptionHandler Interface

 

Defines an unhandled exception handler.

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

Syntax

public interface IExceptionHandler
public interface class IExceptionHandler
type IExceptionHandler = interface end
Public Interface IExceptionHandler

Methods

Name Description
System_CAPS_pubmethod HandleAsync(ExceptionHandlerContext, CancellationToken)

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

Extension Methods

Name Description
System_CAPS_pubmethod HandleAsync(ExceptionContext, CancellationToken)

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

See Also

System.Web.Http.ExceptionHandling Namespace

Return to top