IExceptionHandler Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines an unhandled exception handler.
public interface IExceptionHandler
type IExceptionHandler = interface
Public Interface IExceptionHandler
- Derived
Methods
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
HandleAsync(IExceptionHandler, ExceptionContext, CancellationToken) |
Calls an exception handler and determines the response handling it, if any. |