Compartir vía


Host.CreateApplicationBuilder Método

Definición

Sobrecargas

CreateApplicationBuilder()

Inicializa una nueva instancia de la HostApplicationBuilder clase con valores predeterminados preconfigurados.

CreateApplicationBuilder(HostApplicationBuilderSettings)

Inicializa una nueva instancia de la HostApplicationBuilder clase con valores predeterminados preconfigurados.

CreateApplicationBuilder(String[])

Inicializa una nueva instancia de la HostApplicationBuilder clase con valores predeterminados preconfigurados.

CreateApplicationBuilder()

Source:
Host.cs
Source:
Host.cs
Source:
Host.cs
Source:
Host.cs

Inicializa una nueva instancia de la HostApplicationBuilder clase con valores predeterminados preconfigurados.

public:
 static Microsoft::Extensions::Hosting::HostApplicationBuilder ^ CreateApplicationBuilder();
public static Microsoft.Extensions.Hosting.HostApplicationBuilder CreateApplicationBuilder ();
static member CreateApplicationBuilder : unit -> Microsoft.Extensions.Hosting.HostApplicationBuilder
Public Shared Function CreateApplicationBuilder () As HostApplicationBuilder

Devoluciones

Nueva instancia de HostApplicationBuilder.

Comentarios

Los valores predeterminados siguientes se aplican al devuelto HostBuilder:

Se aplica a

CreateApplicationBuilder(HostApplicationBuilderSettings)

Source:
Host.cs
Source:
Host.cs
Source:
Host.cs

Inicializa una nueva instancia de la HostApplicationBuilder clase con valores predeterminados preconfigurados.

public:
 static Microsoft::Extensions::Hosting::HostApplicationBuilder ^ CreateApplicationBuilder(Microsoft::Extensions::Hosting::HostApplicationBuilderSettings ^ settings);
public static Microsoft.Extensions.Hosting.HostApplicationBuilder CreateApplicationBuilder (Microsoft.Extensions.Hosting.HostApplicationBuilderSettings? settings);
static member CreateApplicationBuilder : Microsoft.Extensions.Hosting.HostApplicationBuilderSettings -> Microsoft.Extensions.Hosting.HostApplicationBuilder
Public Shared Function CreateApplicationBuilder (settings As HostApplicationBuilderSettings) As HostApplicationBuilder

Parámetros

settings
HostApplicationBuilderSettings

Controla la configuración inicial y otras opciones para construir .HostApplicationBuilder

Devoluciones

Nueva instancia de HostApplicationBuilder.

Se aplica a

CreateApplicationBuilder(String[])

Source:
Host.cs
Source:
Host.cs
Source:
Host.cs
Source:
Host.cs

Inicializa una nueva instancia de la HostApplicationBuilder clase con valores predeterminados preconfigurados.

public:
 static Microsoft::Extensions::Hosting::HostApplicationBuilder ^ CreateApplicationBuilder(cli::array <System::String ^> ^ args);
public static Microsoft.Extensions.Hosting.HostApplicationBuilder CreateApplicationBuilder (string[]? args);
static member CreateApplicationBuilder : string[] -> Microsoft.Extensions.Hosting.HostApplicationBuilder
Public Shared Function CreateApplicationBuilder (args As String()) As HostApplicationBuilder

Parámetros

args
String[]

Argumentos de la línea de comandos.

Devoluciones

Nueva instancia de HostApplicationBuilder.

Comentarios

Los valores predeterminados siguientes se aplican al devuelto HostBuilder:

Se aplica a