Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines methods for objects that are managed by the host.
public interface class IHostedService
public interface IHostedService
type IHostedService = interface
Public Interface IHostedService
Triggered when the application host is ready to start the service.
Triggered when the application host is performing a graceful shutdown.
Starts and immediately stops the service.