MigrationsEndPointExtensions.UseMigrationsEndPoint 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
UseMigrationsEndPoint(IApplicationBuilder) |
處理執行移轉作業的要求。 中介軟體會接聽對 提出的 DefaultPath 要求。 |
UseMigrationsEndPoint(IApplicationBuilder, MigrationsEndPointOptions) |
處理執行移轉作業的要求。 中介軟體會接聽 中 |
UseMigrationsEndPoint(IApplicationBuilder)
處理執行移轉作業的要求。 中介軟體會接聽對 提出的 DefaultPath 要求。
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseMigrationsEndPoint(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseMigrationsEndPoint (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
static member UseMigrationsEndPoint : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseMigrationsEndPoint (app As IApplicationBuilder) As IApplicationBuilder
參數
要 IApplicationBuilder 向 註冊中介軟體的 。
傳回
相同的 IApplicationBuilder 實例,以便鏈結多個呼叫。
適用於
UseMigrationsEndPoint(IApplicationBuilder, MigrationsEndPointOptions)
處理執行移轉作業的要求。 中介軟體會接聽 中 options
設定之路徑的要求。
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseMigrationsEndPoint(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Builder::MigrationsEndPointOptions ^ options);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseMigrationsEndPoint (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Builder.MigrationsEndPointOptions options);
static member UseMigrationsEndPoint : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Builder.MigrationsEndPointOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseMigrationsEndPoint (app As IApplicationBuilder, options As MigrationsEndPointOptions) As IApplicationBuilder
參數
要 IApplicationBuilder 向 註冊中介軟體的 。
- options
- MigrationsEndPointOptions
設定中介軟體選項的動作。
傳回
相同的 IApplicationBuilder 實例,以便鏈結多個呼叫。