DefaultRedisConnectionCheckCheckHealthAsync - метод

Runs the health check, returning the status of the component being checked.

Definition

Пространство имён: Tessa.Web.Services
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
C#
public Task<HealthCheckResult> CheckHealthAsync(
	HealthCheckContext context,
	CancellationToken cancellationToken = default
)

Параметры

context  HealthCheckContext
A context object associated with the current execution.
cancellationToken  CancellationToken  (Optional)
A CancellationToken that can be used to cancel the health check.

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

TaskHealthCheckResult
A TaskTResult that completes when the health check has finished, yielding the status of the component being checked.

Реализации

IHealthCheckCheckHealthAsync(HealthCheckContext, CancellationToken)

См. также