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>