Class TaskProgressEventArgs
Event args for autoamtic task progress events.
Inherited Members
Namespace: SdlSdl.ProjectAutomationAutomaticTasks
Assembly: Sdl.ProjectAutomation.AutomaticTasks.dll
Syntax
public class TaskProgressEventArgs : EventArgs
Constructors
TaskProgressEventArgs(int, string)
Creates an instance with the specified percent complete value and operation description.
Declaration
public TaskProgressEventArgs(int percentComplete, string currentOperationDescription = null)
Parameters
Type | Name | Description |
---|---|---|
int | percentComplete | A value between 0 and 100. |
string | currentOperationDescription | A description of the operation currently performed by the task. Can be null or empty, where null means keeping the previous description; an empty string resets the description. |
Properties
CurrentOperationDescription
Gets a description of what the task is currently doing.
Declaration
public string CurrentOperationDescription { get; }
Property Value
Type | Description |
---|---|
string |
PercentComplete
Gets the percentage value indicating which portion of the task has been executed so far.
Declaration
public int PercentComplete { get; }
Property Value
Type | Description |
---|---|
int |