Search Results for

    Show / Hide Table of Contents

    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(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
    In this article
    Back to top Generated by DocFX