WebPeriodicServiceStopAsync - метод
Triggered when the application host is performing a graceful shutdown.
Пространство имён: Tessa.Web.ServicesСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
public Task StopAsync(
CancellationToken cancellationToken
)
Public Function StopAsync (
cancellationToken As CancellationToken
) As Task
public:
virtual Task^ StopAsync(
CancellationToken cancellationToken
) sealed
abstract StopAsync :
cancellationToken : CancellationToken -> Task
override StopAsync :
cancellationToken : CancellationToken -> Task
- cancellationToken CancellationToken
- Indicates that the shutdown process should no longer be graceful.
TaskA
Task that represents the asynchronous Stop operation.
IHostedServiceStopAsync(CancellationToken)