ConfigureWebHostBuilder.ISupportsStartup.Configure 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ISupportsStartup.Configure(Action<IApplicationBuilder>) | |
ISupportsStartup.Configure(Action<WebHostBuilderContext,IApplicationBuilder>) |
ISupportsStartup.Configure(Action<IApplicationBuilder>)
- Source:
- ConfigureWebHostBuilder.cs
Microsoft.AspNetCore.Hosting.IWebHostBuilder ISupportsStartup.Configure (Action<Microsoft.AspNetCore.Builder.IApplicationBuilder> configure);
abstract member Microsoft.AspNetCore.Hosting.Infrastructure.ISupportsStartup.Configure : Action<Microsoft.AspNetCore.Builder.IApplicationBuilder> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
override this.Microsoft.AspNetCore.Hosting.Infrastructure.ISupportsStartup.Configure : Action<Microsoft.AspNetCore.Builder.IApplicationBuilder> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
Function Configure (configure As Action(Of IApplicationBuilder)) As IWebHostBuilder Implements ISupportsStartup.Configure
参数
- configure
- Action<IApplicationBuilder>
返回
实现
适用于
ISupportsStartup.Configure(Action<WebHostBuilderContext,IApplicationBuilder>)
- Source:
- ConfigureWebHostBuilder.cs
Microsoft.AspNetCore.Hosting.IWebHostBuilder ISupportsStartup.Configure (Action<Microsoft.AspNetCore.Hosting.WebHostBuilderContext,Microsoft.AspNetCore.Builder.IApplicationBuilder> configure);
abstract member Microsoft.AspNetCore.Hosting.Infrastructure.ISupportsStartup.Configure : Action<Microsoft.AspNetCore.Hosting.WebHostBuilderContext, Microsoft.AspNetCore.Builder.IApplicationBuilder> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
override this.Microsoft.AspNetCore.Hosting.Infrastructure.ISupportsStartup.Configure : Action<Microsoft.AspNetCore.Hosting.WebHostBuilderContext, Microsoft.AspNetCore.Builder.IApplicationBuilder> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
Function Configure (configure As Action(Of WebHostBuilderContext, IApplicationBuilder)) As IWebHostBuilder Implements ISupportsStartup.Configure
参数
- configure
- Action<WebHostBuilderContext,IApplicationBuilder>