SqlServerErrorCodeProviderGetErrorCodeAsync(Exception, CancellationToken) - метод
Пространство имён: Tessa.Platform.DataСборка: Tessa (в Tessa.dll) Версия: 4.0.4
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 Exception
-
- cancellationToken CancellationToken (Optional)
-
ValueTaskDbmsErrorCodeIDbmsErrorCodeProviderGetErrorCodeAsync(Exception, CancellationToken)