Middleware class to be inserted into the request pipeline which handles uncaught application exceptions.

public class ExceptionHandlerMiddleware
Inheritance:
ObjectExceptionHandlerMiddleware

Constructors

ExceptionHandlerMiddleware(RequestDelegate) Default constructor. Services are injected by the IoC container.

Methods

Invoke(HttpContext) Invokes middleware request processing. Called by the ASP.NET request pipeline.