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