WorkflowInstanceCardServiceStoreCommandSubscriptionAsync - метод |
Метод для сохранения подписки команды
Пространство имён:
Tessa.Workflow
Сборка:
Tessa (в Tessa.dll) Версия: 3.5.0.19
Синтаксис 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
- Тип: Tessa.Workflow.StorageWorkflowCommandSubscriptionStorage
Подписка команды - cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Объект, посредством которого можно отменить асинхронную задачу.
Возвращаемое значение
Тип:
TaskВозвращает асинхронную задачу.
Реализации
IWorkflowInstanceServiceStoreCommandSubscriptionAsync(WorkflowCommandSubscriptionStorage, CancellationToken)См. также