Partager via


StatusCodePagesMiddleware Constructeur

Définition

Crée un objet 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))

Paramètres

next
RequestDelegate

RequestDelegate représentant l’intergiciel suivant dans le pipeline.

options
IOptions<StatusCodePagesOptions>

Options de configuration de l’intergiciel.

S’applique à