This documentation is archived and is not being maintained.

TaskDelegateStateType Enumeration

The TaskDelegateStateType enumeration represents the status types of a delegated task. This enumeration is never set.

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

[GeneratedCodeAttribute("wsdl", "2.0.50727.42")] 
public enum TaskDelegateStateType
/** @attribute SerializableAttribute() */ 
/** @attribute GeneratedCodeAttribute("wsdl", "2.0.50727.42") */ 
/** @attribute XmlTypeAttribute(Namespace="") */ 
public enum TaskDelegateStateType
GeneratedCodeAttribute("wsdl", "2.0.50727.42") 
public enum TaskDelegateStateType

Member nameDescription
AcceptedSpecifies that the task has been declined.
DeclinedNot used.
MaxNot used.
NoMatchSpecifies that this is not a delegated task or that the task request has been created but not sent. This is also used for a task request message, whether in the owner’s Sent Items folder or the delegate’s Inbox.
OwnedSpecifies that a task has been accepted. This value should not be in the enumeration.
OwnNewSpecifies that this is a new task request that has been sent, but the delegate has not yet responded to the task.

This enumeration is used by the DelegationState property of the TaskType object. The mapping for this property is incorrect. This information should come from MAPI property 0x8113, but instead the information comes from MAPI property 0x812A. These properties are the same except that property 0x812A does not include a Owned value, which means that the enumeration values are shifted forward. The following is the order of the enumeration values: NoMatch, OwnNew, Owned, Accepted, Declined, and Max. Because this enumeration contains errors, we recommend that you use MAPI property 0x8113 to get the task delegation state.

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)