Class TaskProgressEventArgs
Event args for autoamtic task progress events.
Inheritance
System.Object
System.EventArgs
TaskProgressEventArgs
Inherited Members
System.EventArgs.Empty
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.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 |
---|---|---|
System.Int32 | percentComplete | A value between 0 and 100. |
System.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 |
---|---|
System.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 |
---|---|
System.Int32 |