Request

Response

    ProgressStepsManager.AppendStepAt method

    Inserts a new progress step at the specified index position for the given operation type. Existing steps at and after the index are shifted to make room for the new step.

    public void AppendStepAt(Operation operationType, int index, string stepId, string title, 
        string completionTitle)
    
    parameterdescription
    operationType The type of operation to which the step should be added.
    index The zero-based index at which to insert the step. Use 0 to insert at the beginning, or the count of existing steps to append at the end.
    stepId The unique identifier for the progress step. Must be unique within the operation.
    title The display title for the progress step shown during execution.
    completionTitle The title displayed when the step is completed.

    Exceptions

    exceptioncondition
    ArgumentException Thrown when stepId, title, or completionTitle is null or empty, or when stepId already exists.
    ArgumentOutOfRangeException Thrown when index is less than 0 or greater than the number of existing steps.

    See Also