Partager via


Task

Last modified: May 27, 2010

Applies to: Exchange Server 2007 | Exchange Server 2010

The Task element represents a task in the Exchange store.

<Task>
   <MimeContent/>
   <ItemId/>
   <ParentFolderId/>
   <ItemClass/>
   <Subject/>
   <Sensitivity/>
   <Body/>
   <Attachments/>
   <DateTimeReceived/>
   <Size/>
   <Categories/>
   <InReplyTo/>
   <IsSubmitted/>
   <IsDraft/>
   <IsFromMe/>
   <IsResend/>
   <IsUnmodified/>
   <InternetMessageHeaders/>
   <DateTimeSent/>
   <DateTimeCreated/>
   <ResponseObjects/>
   <ReminderDueBy/>
   <ReminderIsSet/>
   <ReminderMinutesBeforeStart/>
   <DisplayCc/>
   <DisplayTo/>
   <HasAttachments/>
   <ExtendedProperty/>
   <Culture/>
   <ActualWork/>
   <AssignedTime/>
   <BillingInformation/>
   <ChangeCount/>
   <Companies/>
   <CompleteDate/>
   <Contacts/>
   <DelegationState/>
   <Delegator/>
   <DueDate/>
   <IsAssignmentEditable/>
   <IsComplete/>
   <IsRecurring/>
   <IsTeamTask/>
   <Mileage/>
   <Owner/>
   <PercentComplete/>
   <Recurrence/>
   <StartDate/>
   <Status/>
   <StatusDescription/>
   <TotalWork/>
   <EffectiveRights/>
   <LastModifiedName/>
   <LastModifiedTime/>
   <IsAssociated/>
   <WebClientReadFormQueryString/>
   <WebClientEditFormQueryString/>
   <ConversationId/>
   <UniqueBody/>
</Task>

TaskType

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child Elements

Element

Description

MimeContent

Contains the native Multipurpose Internet Mail Extensions (MIME) stream of an object that is represented in base64Binary format.

ItemId

Contains the unique identifier and change key of an item in the Exchange store.

ParentFolderId

Represents the identifier of the parent folder that contains the item or folder.

ItemClass

Represents the message class of an item.

Subject

Represents the subject for Exchange store items and response objects.

Sensitivity

Contains the status for an item's sensitivity.

Body

Represents the actual body content of a message.

Attachments

Contains the items or files that are attached to an item in the Exchange store.

DateTimeReceived

Represents the date and time that an item in a mailbox was received.

Size

Represents the size, in bytes, of an item. This property is read-only.

Categories

Represents a collection of strings that identify to which categories an item in the mailbox belongs.

Importance

Describes the importance of an item.

InReplyTo

Represents the identifier of the item to which this item is a reply.

IsSubmitted

Indicates whether an item has been submitted to the Outbox default folder.

IsDraft

Represents whether an item has not yet been sent.

IsFromMe

Indicates whether a user sent an item to him or herself.

IsResend

Indicates whether the item had previously been sent.

IsUnmodified

Indicates whether the item has been modified.

InternetMessageHeaders

Represents the collection of all Internet message headers that are contained in an item in a mailbox.

DateTimeSent

Represents the date and time that an item in a mailbox was sent.

DateTimeCreated

Represents the date and time that a given item in the mailbox was created.

ResponseObjects

Contains a collection of all the response objects that are associated with an item in the Exchange store.

ReminderDueBy

Represents the date and time when the event occurs. This is used by the ReminderMinutesBeforeStart element to determine when the reminder is displayed.

ReminderIsSet

Indicates whether a reminder has been set for an item in the Exchange store.

ReminderMinutesBeforeStart

Represents the number of minutes before an event when a reminder is displayed.

DisplayCc

Represents the display string that is used for the contents of the Cc box. This is the concatenated string of all Cc recipient display names.

DisplayTo

Represents the display string that is used for the contents of the To box. This is the concatenated string of all To recipient display names.

HasAttachments

Represents a property that is set to true if an item has at least one visible attachment. This property is read-only.

ExtendedProperty

Identifies extended properties on folders and items.

Culture

Represents the culture for a given item in a mailbox.

ActualWork

Represents the actual amount of time that is spent on a task.

AssignedTime

Represents the time when a task is assigned to a contact.

BillingInformation

Holds billing information for a task.

ChangeCount

Specifies the version of the task.

Companies

Represents the collection of companies that are associated with a contact or task.

CompleteDate

Represents the date on which a task is completed.

Contacts

Contains a list of contacts that are associated with a task.

DelegationState

Represents the status of a delegated task.

Delegator

Contains the name of the delegator who assigned the task.

DueDate

Represents the date when a task item is due.

IsAssignmentEditable

Indicates whether the task is editable or not.

IsComplete

Indicates whether the task has been completed or not.

IsRecurring

Indicates whether a task is part of a recurring item. This element is read-only.

IsTeamTask

Indicates whether the task is owned by a team or not.

Mileage

Represents mileage for a task item.

Owner

Represents the owner of a task.

PercentComplete

Describes the completion status of a task.

Recurrence (TaskRecurrenceType)

Contains recurrence information for recurring tasks.

StartDate (Task)

Represents the start date of a task item.

Status

Represents the status of a task item.

StatusDescription

Contains an explanation of the task status.

TotalWork

Contains a description of how much work is associated with an item.

EffectiveRights

Contains the rights of the client based on the permission settings for the item or folder. This element is read-only.

LastModifiedName

Contains the display name of the last user to modify an item.

LastModifiedTime

Indicates when an item was last modified.

IsAssociated

Indicates whether the item is associated with a folder.

WebClientReadFormQueryString

Represents a URL to concatenate to the Microsoft Office Outlook Web App endpoint to read an item in Outlook Web App.

WebClientEditFormQueryString

Represents a URL to concatenate to the Outlook Web App endpoint to edit an item in Outlook Web App.

ConversationId

Contains the identifier of an item or conversation.

UniqueBody

Represents an HTML fragment or plain text which represents the unique body of this conversation.

Parent Elements

Element

Description

AdjacentMeetings

Describes all calendar items that are adjacent to a meeting time.

AppendToItemField

Identifies data to append to a single property of an item/folder during an UpdateItem Operation.

ConflictingMeetings

Identifies all items that conflict with a meeting time.

Create (ItemSync)

Identifies a single item to create in the local client store.

ItemAttachment

Represents an Exchange item that is attached to another Exchange item.

Items

Contains an array of items.

SetItemField

Represents an update to a single property of an item in an UpdateItem Operation.

Update (ItemSync)

Identifies a single item to update in the local client store.

Text Value

None.

Remarks

The schema that describes this element is located in the IIS virtual directory that hosts Exchange Web Services of the Client Access server.

Element Information

Namespace

https://schemas.microsoft.com/exchange/services/2006/types

Schema name

Types schema

Validation file

Types.xsd

Can be empty

False