StatusCodePagesMiddleware Class
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.
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. |