IDbmsErrorCodeProviderGetErrorCodeAsync(Exception, CancellationToken) - метод |
Пространство имён:
Tessa.Platform.Data
Сборка:
Tessa (в Tessa.dll) Версия: 3.5.0.19
Синтаксис ValueTask<DbmsErrorCode> GetErrorCodeAsync(
Exception exception,
CancellationToken cancellationToken = default
)
Function GetErrorCodeAsync (
exception As Exception,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of DbmsErrorCode)
ValueTask<DbmsErrorCode> GetErrorCodeAsync(
Exception^ exception,
CancellationToken cancellationToken = CancellationToken()
)
abstract GetErrorCodeAsync :
exception : Exception *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<DbmsErrorCode>
Параметры
- exception
- Тип: SystemException
- cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
ValueTaskDbmsErrorCodeСм. также