共用方式為


MigrationsEndPointMiddleware 建構函式

定義

初始化 MigrationsEndPointMiddleware 類別的新執行個體

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

參數

next
RequestDelegate

委派,以在要求管線中執行下一個中介軟體。

logger
ILogger<MigrationsEndPointMiddleware>

Logger<T> 寫入訊息的 。

options
IOptions<MigrationsEndPointOptions>

控制中介軟體行為的選項。

適用於