ClientWorkflowEngineCompilerCompileNodeAsync - метод
Выполняет компиляцию шаблона узла WorkflowEngine.
Пространство имён: Tessa.Workflow.CompilationСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public Task<ValidationResult> CompileNodeAsync(
WorkflowProcessStorage processTemplate,
WorkflowNodeStorage nodeTemplate,
CancellationToken cancellationToken = default
)
Public Function CompileNodeAsync (
processTemplate As WorkflowProcessStorage,
nodeTemplate As WorkflowNodeStorage,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ValidationResult)
public:
virtual Task<ValidationResult^>^ CompileNodeAsync(
WorkflowProcessStorage^ processTemplate,
WorkflowNodeStorage^ nodeTemplate,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract CompileNodeAsync :
processTemplate : WorkflowProcessStorage *
nodeTemplate : WorkflowNodeStorage *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ValidationResult>
override CompileNodeAsync :
processTemplate : WorkflowProcessStorage *
nodeTemplate : WorkflowNodeStorage *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ValidationResult>
- processTemplate WorkflowProcessStorage
Шаблон процесса в WorkflowEngine.
- nodeTemplate WorkflowNodeStorage
Узел WorkflowEngine в шаблоне процесса.
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
TaskValidationResultРезультат компиляции.
IClientWorkflowEngineCompilerCompileNodeAsync(WorkflowProcessStorage, WorkflowNodeStorage, CancellationToken)