StatusCodePagesMiddleware Konstruktor

Definition

Erstellt ein neues 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))

Parameter

next
RequestDelegate

Die , RequestDelegate die die nächste Middleware in der Pipeline darstellt.

options
IOptions<StatusCodePagesOptions>

Die Optionen zum Konfigurieren der Middleware.

Gilt für: