Compartir a través de


ISupportsStartup.Configure Método

Definición

Sobrecargas

Configure(Action<IApplicationBuilder>)

Especifique el método de inicio que se usará para configurar la aplicación web.

Configure(Action<WebHostBuilderContext,IApplicationBuilder>)

Especifique el método de inicio que se usará para configurar la aplicación web.

Configure(Action<IApplicationBuilder>)

Source:
ISupportsStartup.cs

Especifique el método de inicio que se usará para configurar la aplicación web.

public Microsoft.AspNetCore.Hosting.IWebHostBuilder Configure (Action<Microsoft.AspNetCore.Builder.IApplicationBuilder> configure);
abstract member Configure : Action<Microsoft.AspNetCore.Builder.IApplicationBuilder> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
Public Function Configure (configure As Action(Of IApplicationBuilder)) As IWebHostBuilder

Parámetros

configure
Action<IApplicationBuilder>

El delegado que configura IApplicationBuilder.

Devoluciones

IWebHostBuilder.

Se aplica a

Configure(Action<WebHostBuilderContext,IApplicationBuilder>)

Source:
ISupportsStartup.cs

Especifique el método de inicio que se usará para configurar la aplicación web.

public Microsoft.AspNetCore.Hosting.IWebHostBuilder Configure (Action<Microsoft.AspNetCore.Hosting.WebHostBuilderContext,Microsoft.AspNetCore.Builder.IApplicationBuilder> configure);
abstract member Configure : Action<Microsoft.AspNetCore.Hosting.WebHostBuilderContext, Microsoft.AspNetCore.Builder.IApplicationBuilder> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
Public Function Configure (configure As Action(Of WebHostBuilderContext, IApplicationBuilder)) As IWebHostBuilder

Parámetros

Devoluciones

IWebHostBuilder.

Se aplica a