DefaultDatabaseConnectionCheckCheckDataConnection - метод |
Пространство имён:
Tessa.Web.Services
Сборка:
Tessa.Web (в Tessa.Web.dll) Версия: 3.5.0.19
Синтаксис protected virtual Task<HealthCheckResult?> CheckDataConnection(
HealthCheckContext context,
CancellationToken cancellationToken,
DbManager db
)
Protected Overridable Function CheckDataConnection (
context As HealthCheckContext,
cancellationToken As CancellationToken,
db As DbManager
) As Task(Of HealthCheckResult?)
protected:
virtual Task<Nullable<HealthCheckResult>>^ CheckDataConnection(
HealthCheckContext^ context,
CancellationToken cancellationToken,
DbManager^ db
)
abstract CheckDataConnection :
context : HealthCheckContext *
cancellationToken : CancellationToken *
db : DbManager -> Task<Nullable<HealthCheckResult>>
override CheckDataConnection :
context : HealthCheckContext *
cancellationToken : CancellationToken *
db : DbManager -> Task<Nullable<HealthCheckResult>>
Параметры
- context
- Тип: Microsoft.Extensions.Diagnostics.HealthChecksHealthCheckContext
- cancellationToken
- Тип: System.ThreadingCancellationToken
- db
- Тип: Tessa.Platform.DataDbManager
Возвращаемое значение
Тип:
TaskNullableHealthCheckResultСм. также