HostingAbstractionsHostExtensions.Run(IHost) 메서드

정의

호스트가 종료될 때까지 애플리케이션을 실행하고 호출 스레드를 차단합니다.Runs an application and block the calling thread until host shutdown.

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

매개 변수

host
IHost

실행할 IHost입니다.The IHost to run.

적용 대상