Microsoft FactoryOrchestrator Core TaskBase CreateTaskFromTaskRun(Microsoft FactoryOrchestrator Core TaskRun)
Microsoft.FactoryOrchestrator.Core
Microsoft.FactoryOrchestrator.Core.TaskBase
TaskBase.CreateTaskFromTaskRun(Microsoft.FactoryOrchestrator.Core.TaskRun) Method
Creates a Task object from a TaskRun object.
public static Microsoft.FactoryOrchestrator.Core.TaskBase CreateTaskFromTaskRun(Microsoft.FactoryOrchestrator.Core.TaskRun run);
Parameters
run
TaskRun
The TaskRun.
Returns
TaskBase
a TaskBase object representing the Task defined by the Run.
Exceptions
System.ComponentModel.InvalidEnumArgumentException
Given TaskRun has an invalid TaskType