SqlServerErrorCodeProviderGetErrorCodeAsync(IValidationResultItem, CancellationToken) - метод
Пространство имён: Tessa.Platform.DataСборка: Tessa (в Tessa.dll) Версия: 3.6.0.22
public ValueTask<DbmsErrorCode> GetErrorCodeAsync(
IValidationResultItem item,
CancellationToken cancellationToken = default
)
Public Function GetErrorCodeAsync (
item As IValidationResultItem,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of DbmsErrorCode)
public:
virtual ValueTask<DbmsErrorCode> GetErrorCodeAsync(
IValidationResultItem^ item,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract GetErrorCodeAsync :
item : IValidationResultItem *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<DbmsErrorCode>
override GetErrorCodeAsync :
item : IValidationResultItem *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<DbmsErrorCode>
- item IValidationResultItem
-
- cancellationToken CancellationToken (Optional)
-
ValueTaskDbmsErrorCodeIDbmsErrorCodeProviderGetErrorCodeAsync(IValidationResultItem, CancellationToken)