Udostępnij za pośrednictwem


StatusCodeContext Konstruktor

Definicja

Tworzy nowy adres 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)

Parametry

context
HttpContext

Element HttpContext.

options
StatusCodePagesOptions

Skonfigurowany StatusCodePagesOptionselement .

next
RequestDelegate

Reprezentujące RequestDelegate następne oprogramowanie pośredniczące w potoku.

Dotyczy