Skip to content

Microsoft FactoryOrchestrator Core IFactoryOrchestratorService RunTask(Microsoft FactoryOrchestrator Core TaskBase System Nullable System Guid )

Microsoft.FactoryOrchestrator.Core

Microsoft.FactoryOrchestrator.Core.IFactoryOrchestratorService

IFactoryOrchestratorService.RunTask(Microsoft.FactoryOrchestrator.Core.TaskBase, System.Nullable<System.Guid>) Method

Runs a Task outside of a TaskList.

Microsoft.FactoryOrchestrator.Core.TaskRun RunTask(Microsoft.FactoryOrchestrator.Core.TaskBase task, System.Nullable<System.Guid> desiredTaskRunGuid=null);

Parameters

task TaskBase
The Task to run.

desiredTaskRunGuid System.Nullable<System.Guid>
The desired GUID for the returned TaskRun. It is not used if a TaskRun already exists with the same GUID.

Returns

TaskRun
The TaskRun associated with the run.