TessaBackgroundServiceStopAsync - метод

Triggered when the application host is performing a graceful shutdown.

Definition

Пространство имён: Tessa.Web.Services
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
C#
public Task StopAsync(
	CancellationToken cancellationToken
)

Параметры

cancellationToken  CancellationToken
Indicates that the shutdown process should no longer be graceful.

Возвращаемое значение

Task
A Task that represents the asynchronous Stop operation.

Реализации

IHostedServiceStopAsync(CancellationToken)

См. также