WelcomePageMiddleware 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立新應用程式的預設網頁。
public:
WelcomePageMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Builder::WelcomePageOptions ^> ^ options);
public WelcomePageMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.WelcomePageOptions> options);
new Microsoft.AspNetCore.Diagnostics.WelcomePageMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.WelcomePageOptions> -> Microsoft.AspNetCore.Diagnostics.WelcomePageMiddleware
Public Sub New (next As RequestDelegate, options As IOptions(Of WelcomePageOptions))
參數
- next
- RequestDelegate
- options
- IOptions<WelcomePageOptions>