Class TaskProgressEventArgs
Event args for autoamtic task progress events.
Inheritance
Object
EventArgs
TaskProgressEventArgs
Inherited Members
EventArgs.Empty
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Sdl.ProjectAutomation.AutomaticTasks
Assembly: Sdl.ProjectAutomation.AutomaticTasks.dll
Syntax
public class TaskProgressEventArgs : EventArgs
Constructors
TaskProgressEventArgs(Int32, 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 |
---|---|---|
Int32 | 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 |
---|---|
Int32 |