Compartir a través de


StatusCodePagesMiddleware Constructor

Definición

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

Parámetros

next
RequestDelegate

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

options
IOptions<StatusCodePagesOptions>

Las opciones para configurar el middleware.

Se aplica a