Share via


OperationProgressTask Class

Definition

Represents a unit of work that contributes to a IOperationProgressStageAccess.

public ref class OperationProgressTask
public class OperationProgressTask
type OperationProgressTask = class
Public Class OperationProgressTask
Inheritance
OperationProgressTask

Constructors

OperationProgressTask(JoinableTask, String, Func<Task<String>>)

Creates a new unit of work that contributes to a IOperationProgressStageAccess.

OperationProgressTask(JoinableTask, String, Func<Task<String>>, Nullable<Guid>)

Creates a new unit of work that contributes to a IOperationProgressStageAccess.

Properties

DisplayName

Gets a function that returns a Task<TResult> to get the DisplayName of this OperationProgressTask. Will only be called if actually needed to display to user.

JoinableTask

Gets the JoinableTask that represents part of an operation.

Name

Gets the invariant name of this OperationProgressTask that can be reported in Telemetry.

ProjectId

Gets or sets the optional ProjectId Guid used to tie this task to a Project.

Task

Gets the Task that represents part of an operation.

Applies to