HostingAbstractionsHostExtensions.Start(IHost) 方法

定义

同步启动主机。Starts the host synchronously.

public:
[System::Runtime::CompilerServices::Extension]
 static void Start(Microsoft::Extensions::Hosting::IHost ^ host);
public static void Start (this Microsoft.Extensions.Hosting.IHost host);
static member Start : Microsoft.Extensions.Hosting.IHost -> unit
<Extension()>
Public Sub Start (host As IHost)

参数

host
IHost

要启动的 IHostThe IHost to start.

适用于