ExceptionHandlerMiddleware Class

ExceptionHandlerMiddleware Class

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

public class ExceptionHandlerMiddleware

Inheritance  Object ExceptionHandlerMiddleware

Constructors

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

Methods

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