Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 | |
|---|---|---|
![]() |
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 | |
|---|---|---|
![]() |
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
.jpeg)