StatusCodeContext Constructor
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 StatusCodeContext.
public:
StatusCodeContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Builder::StatusCodePagesOptions ^ options, Microsoft::AspNetCore::Http::RequestDelegate ^ next);
public StatusCodeContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Builder.StatusCodePagesOptions options, Microsoft.AspNetCore.Http.RequestDelegate next);
new Microsoft.AspNetCore.Diagnostics.StatusCodeContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Builder.StatusCodePagesOptions * Microsoft.AspNetCore.Http.RequestDelegate -> Microsoft.AspNetCore.Diagnostics.StatusCodeContext
Public Sub New (context As HttpContext, options As StatusCodePagesOptions, next As RequestDelegate)
- context
- HttpContext
The HttpContext.
- options
- StatusCodePagesOptions
The configured StatusCodePagesOptions.
- next
- RequestDelegate
The RequestDelegate representing the next middleware in the pipeline.