Condividi tramite


StatusCodePagesMiddleware Costruttore

Definizione

Crea un nuovo oggetto 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))

Parametri

next
RequestDelegate

Oggetto RequestDelegate che rappresenta il middleware successivo nella pipeline.

options
IOptions<StatusCodePagesOptions>

Opzioni per la configurazione del middleware.

Si applica a