Freigeben über


MigrationsEndPointMiddleware Konstruktor

Definition

Initialisiert eine neue Instanz der MigrationsEndPointMiddleware-Klasse.

public:
 MigrationsEndPointMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Logging::ILogger<Microsoft::AspNetCore::Diagnostics::EntityFrameworkCore::MigrationsEndPointMiddleware ^> ^ logger, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Builder::MigrationsEndPointOptions ^> ^ options);
public MigrationsEndPointMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.MigrationsEndPointMiddleware> logger, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.MigrationsEndPointOptions> options);
new Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.MigrationsEndPointMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.MigrationsEndPointMiddleware> * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.MigrationsEndPointOptions> -> Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.MigrationsEndPointMiddleware
Public Sub New (next As RequestDelegate, logger As ILogger(Of MigrationsEndPointMiddleware), options As IOptions(Of MigrationsEndPointOptions))

Parameter

next
RequestDelegate

Delegat, um die nächste Middleware in der Anforderungspipeline auszuführen.

logger
ILogger<MigrationsEndPointMiddleware>

Die , Logger<T> in die Nachrichten geschrieben werden sollen.

options
IOptions<MigrationsEndPointOptions>

Die Optionen zum Steuern des Verhaltens der Middleware.

Gilt für: