共用方式為


WelcomePageExtensions.UseWelcomePage 方法

定義

多載

UseWelcomePage(IApplicationBuilder)

將 WelcomePageMiddleware 新增至管線。

UseWelcomePage(IApplicationBuilder, WelcomePageOptions)

使用給定的選項將 WelcomePageMiddleware 新增至管線。

UseWelcomePage(IApplicationBuilder, PathString)

新增 WelcomePageMiddleware 和指定路徑至管線。

UseWelcomePage(IApplicationBuilder, String)

新增 WelcomePageMiddleware 和指定路徑至管線。

UseWelcomePage(IApplicationBuilder)

來源:
WelcomePageExtensions.cs
來源:
WelcomePageExtensions.cs
來源:
WelcomePageExtensions.cs

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

來源:
WelcomePageExtensions.cs
來源:
WelcomePageExtensions.cs
來源:
WelcomePageExtensions.cs

使用給定的選項將 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

參數

傳回

適用於

UseWelcomePage(IApplicationBuilder, PathString)

來源:
WelcomePageExtensions.cs
來源:
WelcomePageExtensions.cs
來源:
WelcomePageExtensions.cs

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

來源:
WelcomePageExtensions.cs
來源:
WelcomePageExtensions.cs
來源:
WelcomePageExtensions.cs

新增 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

傳回

適用於