WorkflowInstanceCardServiceGetTimerSubscriptionAsync - метод
Метод для получения подписки таймера по ID.
Пространство имён: Tessa.WorkflowСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public Task<WorkflowTimerSubscriptionStorage?> GetTimerSubscriptionAsync(
Guid subscriptionID,
CancellationToken cancellationToken = default
)
Public Function GetTimerSubscriptionAsync (
subscriptionID As Guid,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of WorkflowTimerSubscriptionStorage)
public:
virtual Task<WorkflowTimerSubscriptionStorage^>^ GetTimerSubscriptionAsync(
Guid subscriptionID,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract GetTimerSubscriptionAsync :
subscriptionID : Guid *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<WorkflowTimerSubscriptionStorage>
override GetTimerSubscriptionAsync :
subscriptionID : Guid *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<WorkflowTimerSubscriptionStorage>
- subscriptionID Guid
- ID подписки.
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
TaskWorkflowTimerSubscriptionStorageВозвращает подписку таймера, или
null, если подписка не найдена.
IWorkflowInstanceServiceGetTimerSubscriptionAsync(Guid, CancellationToken)