Search Results for

    Show / Hide Table of Contents

    Class TaskSequence

    Represents a sequence of automatic tasks that is executing or has finished executing.

    Inheritance
    System.Object
    TaskSequence
    Inherited Members
    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.FileBased
    Assembly: Sdl.ProjectAutomation.FileBased.dll
    Syntax
    public class TaskSequence
    Remarks

    To execute a task sequence, use RunAutomaticTasks(Guid[], String[]).

    Constructors

    TaskSequence()

    Declaration
    public TaskSequence()

    Properties

    OutputFiles

    Gets the output files of this task sequence.

    Declaration
    public TaskFileInfo[] OutputFiles { get; }
    Property Value
    Type Description
    TaskFileInfo[]
    Remarks

    This will only populated if the task sequence was successfully completed, i.e. Status is Completed. This property always reflects the output files of the last task in the sequence.

    Status

    Gets the status of this task sequence.

    Declaration
    public TaskStatus Status { get; }
    Property Value
    Type Description
    TaskStatus

    SubTasks

    Gets the automatic tasks that are part of this sequence.

    Declaration
    public AutomaticTask[] SubTasks { get; }
    Property Value
    Type Description
    AutomaticTask[]
    Remarks

    There is not necessarily a subtask for every automatic task template ID that was passed to RunAutomaticTasks(Guid[], String[]). Consecutive content-processing tasks will always be running in parallel within one automatic task, which is represented by a single AutomaticTask object which is associated with multiple automatic task templates (TemplateIds).

    On this page

    • Constructors
      • TaskSequence()
    • Properties
      • OutputFiles
      • Status
      • SubTasks
    Back to top Generated by DocFX