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