Share via


DeveloperExceptionPageMiddleware Class

Definition

Captures synchronous and asynchronous exceptions from the pipeline and generates error responses.

public ref class DeveloperExceptionPageMiddleware
public class DeveloperExceptionPageMiddleware
type DeveloperExceptionPageMiddleware = class
Public Class DeveloperExceptionPageMiddleware
Inheritance
DeveloperExceptionPageMiddleware

Constructors

DeveloperExceptionPageMiddleware(RequestDelegate, IOptions<DeveloperExceptionPageOptions>, ILoggerFactory, IHostingEnvironment, DiagnosticSource)

Initializes a new instance of the DeveloperExceptionPageMiddleware class

DeveloperExceptionPageMiddleware(RequestDelegate, IOptions<DeveloperExceptionPageOptions>, ILoggerFactory, IWebHostEnvironment, DiagnosticSource, IEnumerable<IDeveloperPageExceptionFilter>)

Initializes a new instance of the DeveloperExceptionPageMiddleware class

Methods

Invoke(HttpContext)

Process an individual request.

Applies to