WelcomePageExtensions.UseWelcomePage 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
UseWelcomePage(IApplicationBuilder) |
將 WelcomePageMiddleware 新增至管線。 |
UseWelcomePage(IApplicationBuilder, WelcomePageOptions) |
使用給定的選項將 WelcomePageMiddleware 新增至管線。 |
UseWelcomePage(IApplicationBuilder, PathString) |
新增 WelcomePageMiddleware 和指定路徑至管線。 |
UseWelcomePage(IApplicationBuilder, String) |
新增 WelcomePageMiddleware 和指定路徑至管線。 |
UseWelcomePage(IApplicationBuilder)
將 WelcomePageMiddleware 新增至管線。
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseWelcomePage(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseWelcomePage (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
static member UseWelcomePage : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseWelcomePage (app As IApplicationBuilder) As IApplicationBuilder
參數
傳回
適用於
UseWelcomePage(IApplicationBuilder, WelcomePageOptions)
使用給定的選項將 WelcomePageMiddleware 新增至管線。
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseWelcomePage(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Builder::WelcomePageOptions ^ options);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseWelcomePage (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Builder.WelcomePageOptions options);
static member UseWelcomePage : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Builder.WelcomePageOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseWelcomePage (app As IApplicationBuilder, options As WelcomePageOptions) As IApplicationBuilder
參數
- options
- WelcomePageOptions
傳回
適用於
UseWelcomePage(IApplicationBuilder, PathString)
新增 WelcomePageMiddleware 和指定路徑至管線。
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseWelcomePage(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Http::PathString path);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseWelcomePage (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Http.PathString path);
static member UseWelcomePage : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Http.PathString -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseWelcomePage (app As IApplicationBuilder, path As PathString) As IApplicationBuilder
參數
- path
- PathString
傳回
適用於
UseWelcomePage(IApplicationBuilder, String)
新增 WelcomePageMiddleware 和指定路徑至管線。
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseWelcomePage(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, System::String ^ path);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseWelcomePage (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, string path);
static member UseWelcomePage : Microsoft.AspNetCore.Builder.IApplicationBuilder * string -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseWelcomePage (app As IApplicationBuilder, path As String) As IApplicationBuilder
參數
- path
- String