WorkflowInstanceCardServiceGetTimerSubscriptionAsync - метод
Метод для получения списка подписок по ID подпроцесса
Пространство имён: Tessa.WorkflowСборка: Tessa (в Tessa.dll) Версия: 3.6.0.22
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Возвращает подписку таймера, или пустой список, если подписок нет
IWorkflowInstanceServiceGetTimerSubscriptionAsync(Guid, CancellationToken)