StatusCodePagesMiddleware Constructor
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.
Creates a new StatusCodePagesMiddleware
public:
StatusCodePagesMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Builder::StatusCodePagesOptions ^> ^ options);
public StatusCodePagesMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.StatusCodePagesOptions> options);
new Microsoft.AspNetCore.Diagnostics.StatusCodePagesMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.StatusCodePagesOptions> -> Microsoft.AspNetCore.Diagnostics.StatusCodePagesMiddleware
Public Sub New (next As RequestDelegate, options As IOptions(Of StatusCodePagesOptions))
Parameters
- next
- RequestDelegate
The RequestDelegate representing the next middleware in the pipeline.
- options
- IOptions<StatusCodePagesOptions>
The options for configuring the middleware.