Microsoft.Extensions.Hosting.WindowsServices 命名空間

提供類別,讓你能封裝 Windows 服務應用程式的資源與終身功能。

類別

名稱 Description
WindowsServiceHelpers

Windows 服務的輔助方法。

WindowsServiceLifetime

監聽關機訊號並追蹤 Windows 服務狀態。