다음을 통해 공유


TaskType.Status Property

The Status property gets or sets one of the valid TaskStatusType enumeration values that represent the status of a task.

Namespace: ExchangeWebServices
Assembly: EWS (in ews.dll)

Syntax

'Declaration
Public Property Status As TaskStatusType
public TaskStatusType Status { get; set; }
public:
property TaskStatusType Status {
    TaskStatusType get ();
    void set (TaskStatusType value);
}
/** @property */
public TaskStatusType get_Status ()

/** @property */
public void set_Status (TaskStatusType value)
public function get Status () : TaskStatusType

public function set Status (value : TaskStatusType)

Property Value

The Status property returns one of the valid TaskStatusType enumeration values that represent the status of a task.

Remarks

Setting the CompleteDate property has the same effect as setting the PercentComplete property to 100 or the Status property to Completed. In a request that sets at least two of these properties, the last processed property will determine the value that is set for these elements. For example, if the PercentComplete property is 100, the CompleteDate property is January 1, 2007, and the Status property is NotStarted, and the properties are streamed in that order, the effect will be to set the Status property of the task to NotStarted, the CompleteDate property to null, and the PercentComplete property to 0.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Longhorn, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2)