WebHostExtensions.WaitForShutdown(IWebHost) Yöntem

Tanım

Kapatma Ctrl+C veya SIGTERM aracılığıyla tetiklenene kadar çağıran iş parçacığını engelleyin.

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

Parametreler

host
IWebHost

çalışan IWebHost.

Şunlara uygulanır