Share via


StatusCodePagesMiddleware Class

Definition

A middleware for generating the response body of error status codes with no body.

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

Constructors

StatusCodePagesMiddleware(RequestDelegate, IOptions<StatusCodePagesOptions>)

Creates a new StatusCodePagesMiddleware

Methods

Invoke(HttpContext)

Executes the middleware.

Applies to