HostingAbstractionsHostBuilderExtensions.Start(IHostBuilder) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Builds and starts the 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
Parameters
- hostBuilder
- IHostBuilder
The IHostBuilder to start.
Returns
The started IHost.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.