Class TaskStatusEventArgs
Event args class for progress callbacks when running automatic tasks.
Namespace: Sdl.ProjectAutomation.Core
Assembly: Sdl.ProjectAutomation.Core.dll
Syntax
public class TaskStatusEventArgs : ProgressEventArgs
Constructors
TaskStatusEventArgs()
Event args class for progress callbacks when running automatic tasks.
Declaration
public TaskStatusEventArgs()
See Also
RunAutomaticTask(Guid[], String, EventHandler<TaskStatusEventArgs>, EventHandler<TaskMessageEventArgs>)
Properties
Status
Gets the currently status of the task. When running a task sequence, this returns the overall status of the complex task.
Declaration
public TaskStatus Status { get; }
Property Value
Type | Description |
---|---|
TaskStatus |
See Also
RunAutomaticTask(Guid[], String, EventHandler<TaskStatusEventArgs>, EventHandler<TaskMessageEventArgs>)
TaskTemplateIds
Gets the task template IDs to which the event applies. Usually, this contains exactly one task template id, which is the task template id of the currently executing task. The only case when this returns multiple task template IDs is when multiple content processing automatic tasks are being run in parallel.
Declaration
public string[] TaskTemplateIds { get; }
Property Value
Type | Description |
---|---|
String[] |
See Also
RunAutomaticTask(Guid[], String, EventHandler<TaskStatusEventArgs>, EventHandler<TaskMessageEventArgs>)
See Also
RunAutomaticTask(Guid[], String, EventHandler<TaskStatusEventArgs>, EventHandler<TaskMessageEventArgs>)