Runs a sequence of automatic tasks on a set of project files. This can be more efficient than running tasks
individually using RunAutomaticTask(array<Guid>[]()[][], String), because content processing tasks can
be executed in parallel. See the comments on AnalyzeFiles for more details.
Namespace: Sdl.ProjectAutomation.FileBasedAssembly: Sdl.ProjectAutomation.FileBased (in Sdl.ProjectAutomation.FileBased.dll) Version: 1.0.0.0 (1.2.3064.0)
Syntax
C# |
---|
public TaskSequence RunAutomaticTasks( Guid[] projectFileIds, string[] taskTemplateIds, EventHandler<TaskStatusEventArgs> statusEventHandler, EventHandler<TaskMessageEventArgs> messageEventHandler ) |
Visual Basic |
---|
Public Function RunAutomaticTasks ( _ projectFileIds As Guid(), _ taskTemplateIds As String(), _ statusEventHandler As EventHandler(Of TaskStatusEventArgs), _ messageEventHandler As EventHandler(Of TaskMessageEventArgs) _ ) As TaskSequence |
Visual C++ |
---|
public: TaskSequence^ RunAutomaticTasks( array<Guid>^ projectFileIds, array<String^>^ taskTemplateIds, EventHandler<TaskStatusEventArgs^>^ statusEventHandler, EventHandler<TaskMessageEventArgs^>^ messageEventHandler ) |
Parameters
- projectFileIds
- Type: array<System..::..Guid>[]()[][]
The files to run the task on.
- taskTemplateIds
- Type: array<System..::..String>[]()[][]
The IDs of the task templates (i.e. the types of task) to run.
- statusEventHandler
- Type: System..::..EventHandler<(Of <(<'TaskStatusEventArgs>)>)>
Event handler for task status events.
- messageEventHandler
- Type: System..::..EventHandler<(Of <(<'TaskMessageEventArgs>)>)>
Event handler for message events.