DiagWorkflowServiceTryLockVersionAsync - метод
Метод для установки блокировки на версию процесса
Пространство имён: Tessa.WorkflowСборка: Tessa (в Tessa.dll) Версия: 3.6.0.22
public Task<ValidationResult> TryLockVersionAsync(
Guid processRowID,
CancellationToken cancellationToken = default
)
Public Function TryLockVersionAsync (
processRowID As Guid,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ValidationResult)
public:
virtual Task<ValidationResult^>^ TryLockVersionAsync(
Guid processRowID,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract TryLockVersionAsync :
processRowID : Guid *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ValidationResult>
override TryLockVersionAsync :
processRowID : Guid *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ValidationResult>
- processRowID Guid
- RowID версии процесса
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
TaskValidationResultВозвращает
ValidationResult установки блокировки
IWorkflowServiceTryLockVersionAsync(Guid, CancellationToken)