Sdílet prostřednictvím


MigrationsEndPointMiddleware Konstruktor

Definice

Inicializuje novou instanci MigrationsEndPointMiddleware třídy .

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))

Parametry

next
RequestDelegate

Delegujte spuštění další části middlewaru v kanálu žádosti.

logger
ILogger<MigrationsEndPointMiddleware>

Do Logger<T> které se mají psát zprávy.

options
IOptions<MigrationsEndPointOptions>

Možnosti řízení chování middlewaru.

Platí pro