Share via


TaskState Enumeration

banner art

Specifies the possible states for a task.

Syntax

[Visual Basic .NET]
Public Enum TaskState
[C#]
public enum TaskState
[JScript]
public enum TaskState

Members

Name Value Description Status Reason Value
Canceled 2 Specifies that the task is canceled. Canceled 6
Completed 1 Specifies that the task is completed. Completed 5
Open 0 Specifies that the task is open. Not Started

In Progress

Waiting on someone else

Deferred

2

3

4

7

Remarks

Used for the TaskStateInfo.Value field.

The values for task status reason are customizable. The table above shows the values defined in a default installation.

See Also

© 2007 Microsoft Corporation. All rights reserved.