Partager via


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)

Syntax

'Declaration
<SerializableAttribute> _
<GeneratedCodeAttribute("wsdl", "2.0.50727.42")> _
<XmlTypeAttribute(Namespace:="https://schemas.microsoft.com/exchange/services/2006/types")> _
Public Enumeration TaskDelegateStateType
[SerializableAttribute] 
[GeneratedCodeAttribute("wsdl", "2.0.50727.42")] 
[XmlTypeAttribute(Namespace="https://schemas.microsoft.com/exchange/services/2006/types")] 
public enum TaskDelegateStateType
[SerializableAttribute] 
[GeneratedCodeAttribute(L"wsdl", L"2.0.50727.42")] 
[XmlTypeAttribute(Namespace=L"https://schemas.microsoft.com/exchange/services/2006/types")] 
public enum class TaskDelegateStateType
/** @attribute SerializableAttribute() */ 
/** @attribute GeneratedCodeAttribute("wsdl", "2.0.50727.42") */ 
/** @attribute XmlTypeAttribute(Namespace="https://schemas.microsoft.com/exchange/services/2006/types") */ 
public enum TaskDelegateStateType
SerializableAttribute 
GeneratedCodeAttribute("wsdl", "2.0.50727.42") 
XmlTypeAttribute(Namespace="https://schemas.microsoft.com/exchange/services/2006/types") 
public enum TaskDelegateStateType

Members

Member name Description
Accepted Specifies that the task has been declined.
Declined Not used.
Max Not used.
NoMatch Specifies 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.
Owned Specifies that a task has been accepted. This value should not be in the enumeration.
OwnNew Specifies that this is a new task request that has been sent, but the delegate has not yet responded to the task.

Remarks

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.

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)

See Also