Compartir a través de


HostingAbstractionsHostBuilderExtensions.Start(IHostBuilder) Método

Definición

Compila e inicia el host.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Hosting::IHost ^ Start(Microsoft::Extensions::Hosting::IHostBuilder ^ hostBuilder);
public static Microsoft.Extensions.Hosting.IHost Start (this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder);
static member Start : Microsoft.Extensions.Hosting.IHostBuilder -> Microsoft.Extensions.Hosting.IHost
<Extension()>
Public Function Start (hostBuilder As IHostBuilder) As IHost

Parámetros

hostBuilder
IHostBuilder

La interfaz IHostBuilder que se va a iniciar.

Devoluciones

Objeto IHost iniciado.

Se aplica a