Condividi tramite


HostingAbstractionsWebHostBuilderExtensions.Start Metodo

Definizione

Avviare l'host Web e ascoltare gli URL specificati.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Hosting::IWebHost ^ Start(Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ hostBuilder, ... cli::array <System::String ^> ^ urls);
public static Microsoft.AspNetCore.Hosting.IWebHost Start (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder, params string[] urls);
static member Start : Microsoft.AspNetCore.Hosting.IWebHostBuilder * string[] -> Microsoft.AspNetCore.Hosting.IWebHost
<Extension()>
Public Function Start (hostBuilder As IWebHostBuilder, ParamArray urls As String()) As IWebHost

Parametri

hostBuilder
IWebHostBuilder

Oggetto IWebHostBuilder da avviare.

urls
String[]

Gli URL su cui sarà in ascolto l'applicazione ospitata.

Restituisce

Oggetto IWebHostBuilder.

Si applica a