WorkflowEngineProcessorClientSendSignalAsync - метод |
Производит отправку сигнала на процесс
Пространство имён:
Tessa.Workflow
Сборка:
Tessa (в Tessa.dll) Версия: 3.5.0.19
Синтаксис public Task<IWorkflowEngineProcessResult> SendSignalAsync(
Guid processInstanceID,
IWorkflowEngineSignal signal,
Guid? nodeID,
Guid? nodeInstanceID,
CancellationToken cancellationToken = default
)
Public Function SendSignalAsync (
processInstanceID As Guid,
signal As IWorkflowEngineSignal,
nodeID As Guid?,
nodeInstanceID As Guid?,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of IWorkflowEngineProcessResult)
public:
virtual Task<IWorkflowEngineProcessResult^>^ SendSignalAsync(
Guid processInstanceID,
IWorkflowEngineSignal^ signal,
Nullable<Guid> nodeID,
Nullable<Guid> nodeInstanceID,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract SendSignalAsync :
processInstanceID : Guid *
signal : IWorkflowEngineSignal *
nodeID : Nullable<Guid> *
nodeInstanceID : Nullable<Guid> *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<IWorkflowEngineProcessResult>
override SendSignalAsync :
processInstanceID : Guid *
signal : IWorkflowEngineSignal *
nodeID : Nullable<Guid> *
nodeInstanceID : Nullable<Guid> *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<IWorkflowEngineProcessResult>
Параметры
- processInstanceID
- Тип: SystemGuid
ID экземпляра процесса - signal
- Тип: Tessa.Workflow.SignalsIWorkflowEngineSignal
Отправляемый сигнал - nodeID
- Тип: SystemNullableGuid
ID узла - nodeInstanceID
- Тип: SystemNullableGuid
ID экземпляра узла, если отправка идет на конкретный экземпляр - cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Объект, посредством которого можно отменить асинхронную задачу.
Возвращаемое значение
Тип:
TaskIWorkflowEngineProcessResultВозвращает результат обработки процесса
Реализации
IWorkflowEngineProcessorClientSendSignalAsync(Guid, IWorkflowEngineSignal, NullableGuid, NullableGuid, CancellationToken)См. также