DiagWorkflowServiceStoreTaskSubscriptionAsync - метод
Метод для сохранения подписки задания.
Пространство имён: Tessa.WorkflowСборка: Tessa (в Tessa.dll) Версия: 4.0.4
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)