Compartir a través de


StatusCodeContext Constructor

Definición

Crea un nuevo 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)

Parámetros

options
StatusCodePagesOptions

El valor StatusCodePagesOptions configurado.

next
RequestDelegate

RequestDelegate que representa el siguiente middleware de la canalización.

Se aplica a