Enum TaskStatus

TaskStatus enumeration

Defines how far work on a task has progressed.

public enum TaskStatus

Values

NameValueDescription
NotStarted0Work on the task has not started. The task is pending or scheduled for future work.
InProgress1Work on the task is in progress. The task is actively being worked on.
Complete2The task is complete. All required work has been finished.
Waiting3The task is waiting for someone else. It cannot proceed until external dependencies are resolved.
Deferred4Work on the task has been deferred. The task is postponed or delayed indefinitely.

Remarks

These values track the completion state of a task throughout its lifecycle. Use the Status property to set or check the current status of a task.

Typical task progression follows: NotStarted → InProgress → Complete, though tasks may also be set to Waiting or Deferred as needed.

Examples

[C#]

var task = new Task();
task.Subject = "Review project proposal";
task.Status = TaskStatus.InProgress;
task.PercentComplete = 50.0f;

See Also