The TaskDelegateStateType enumeration represents the status types of a delegated task. This enumeration is never set.
Assembly: EWS (in EWS.dll)
'Declaration <SerializableAttribute> _ Public Enumeration TaskDelegateStateType 'Usage Dim instance As TaskDelegateStateType
[SerializableAttribute] public enum TaskDelegateStateType
|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.|
|OwnNew||Specifies that this is a new task request that has been sent, but the delegate has not yet responded to the task.|
|Owned||Specifies that a task has been accepted. This value should not be in the enumeration.|
|Accepted||Specifies that the task has been declined.|
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.