次の方法で共有


Microsoft.Extensions.Hosting.WindowsServices Namespace

Provides classes that allow you to encapsulate a Windows Service app's resources and lifetime functionality.

Classes

WindowsServiceHelpers

Helper methods for Windows Services.

WindowsServiceLifetime

Listens for shutdown signal and tracks the status of the Windows service.