ConfigureWebHostBuilder.ISupportsStartup.Configure 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
ISupportsStartup.Configure(Action<IApplicationBuilder>) | |
ISupportsStartup.Configure(Action<WebHostBuilderContext,IApplicationBuilder>) |
ISupportsStartup.Configure(Action<IApplicationBuilder>)
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>)
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>