Share via


task.statuscode Field

banner art

Specifies the reason for the status of the task.

Syntax

[Visual Basic .NET]
Public Field statuscode As Status
[C#]
public Status statuscode;
[JScript]
public var statuscode : Status;

Remarks

Represents a field of type Status.

The attributes statecode (Status) and statuscode (Status Reason) are linked. The statecode attribute is internally to represent the status of the entity. The statuscode is used to display this value to the end user. The set of valid statecodes for an entity is not customizable, but the statuscodes are customizable.

See TaskStateInfo for the mapping of statecode and statuscode values for a default installation.

The following table contains additional information about this attribute:

Platform required No
Application requirement level1 No Constraint
Valid for create Yes
Valid for retrieve Yes
Valid for update Yes

1 – Customizable. Indicates the value for a default installation.

See Also

© 2007 Microsoft Corporation. All rights reserved.