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()
Declaration
public TaskStatusEventArgs()
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 |
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 |
---|---|
System.String[] |
See Also
RunAutomaticTask(System.Guid[], System.String, System.EventHandler<TaskStatusEventArgs>, System.EventHandler<TaskMessageEventArgs>)