Click or drag to resize
FileBasedProjectRunAutomaticTasks Method (Guid, String, EventHandlerTaskStatusEventArgs, EventHandlerTaskMessageEventArgs)
Runs a sequence of automatic tasks on a set of project files. This can be more efficient than running tasks individually using RunAutomaticTask(Guid, String), because content processing tasks can be executed in parallel. See the comments on AnalyzeFiles for more details.

Namespace: Sdl.ProjectAutomation.FileBased
Assembly: Sdl.ProjectAutomation.FileBased (in Sdl.ProjectAutomation.FileBased.dll) Version: 3.0.0.0 (3.1.5799.0)
Syntax
public TaskSequence RunAutomaticTasks(
	Guid[] projectFileIds,
	string[] taskTemplateIds,
	EventHandler<TaskStatusEventArgs> statusEventHandler,
	EventHandler<TaskMessageEventArgs> messageEventHandler
)

Parameters

projectFileIds
Type: SystemGuid
The files to run the task on.
taskTemplateIds
Type: SystemString
The IDs of the task templates (i.e. the types of task) to run.
statusEventHandler
Type: SystemEventHandlerTaskStatusEventArgs
Event handler for task status events.
messageEventHandler
Type: SystemEventHandlerTaskMessageEventArgs
Event handler for message events.

Return Value

Type: TaskSequence
Information about the sequence of tasks that has been run.
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments