DefaultDatabaseConnectionCheckCheckHealthAsync - метод

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

Definition

Пространство имён: Tessa.Web.Services
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
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)

См. также