Skip to content

Microsoft FactoryOrchestrator Client FactoryOrchestratorClient CreateTaskListFromDirectory(string bool)

Microsoft.FactoryOrchestrator.Client

Microsoft.FactoryOrchestrator.Client.FactoryOrchestratorClient

FactoryOrchestratorClient.CreateTaskListFromDirectory(string, bool) Method

Asynchronously Creates a new TaskList by finding all .exe, .cmd, .bat, .ps1, and TAEF files in a given folder.

public System.Threading.Tasks.Task<Microsoft.FactoryOrchestrator.Core.TaskList> CreateTaskListFromDirectory(string path, bool recursive=false);

Parameters

path System.String
Path of the directory to search.

recursive System.Boolean
If true, search recursively.

Returns

System.Threading.Tasks.Task<Microsoft.FactoryOrchestrator.Core.TaskList>
The created TaskList