WorkflowServiceStoreCommandSubscriptionAsync - метод
Метод для сохранения подписки команды
Пространство имён: Tessa.WorkflowСборка: Tessa (в Tessa.dll) Версия: 3.6.0.22
public Task StoreCommandSubscriptionAsync(
WorkflowCommandSubscriptionStorage commandSubscription,
CancellationToken cancellationToken = default
)
Public Function StoreCommandSubscriptionAsync (
commandSubscription As WorkflowCommandSubscriptionStorage,
Optional cancellationToken As CancellationToken = Nothing
) As Task
public:
virtual Task^ StoreCommandSubscriptionAsync(
WorkflowCommandSubscriptionStorage^ commandSubscription,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract StoreCommandSubscriptionAsync :
commandSubscription : WorkflowCommandSubscriptionStorage *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
override StoreCommandSubscriptionAsync :
commandSubscription : WorkflowCommandSubscriptionStorage *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
- commandSubscription WorkflowCommandSubscriptionStorage
- Подписка команды
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
TaskАсинхронная задача.
IWorkflowInstanceServiceStoreCommandSubscriptionAsync(WorkflowCommandSubscriptionStorage, CancellationToken)