共用方式為


ConfigureWebHostBuilder.ISupportsStartup.Configure 方法

定義

多載

ISupportsStartup.Configure(Action<IApplicationBuilder>)
ISupportsStartup.Configure(Action<WebHostBuilderContext,IApplicationBuilder>)

ISupportsStartup.Configure(Action<IApplicationBuilder>)

來源:
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

參數

傳回

實作

適用於

ISupportsStartup.Configure(Action<WebHostBuilderContext,IApplicationBuilder>)

來源:
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

參數

傳回

實作

適用於