StatusCodePagesOptions 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.
Options for StatusCodePagesMiddleware.
public ref class StatusCodePagesOptions
public class StatusCodePagesOptions
type StatusCodePagesOptions = class
Public Class StatusCodePagesOptions
- Inheritance
-
StatusCodePagesOptions
Constructors
StatusCodePagesOptions() |
Creates a default StatusCodePagesOptions which produces a plaintext response containing the status code and the reason phrase. |
Properties
HandleAsync |
The handler that generates the response body for the given StatusCodeContext. By default this produces a plain text response that includes the status code. |