ModifiedEvent

The ModifiedEvent element represents an event in which an item or folder is modified.

<ModifiedEvent>
   <Watermark/>
   <TimeStamp/>
   <FolderId/>
   <ParentFolderId/>
   <UnreadCount/>
</ModifiedEvent>
<ModifiedEvent>
   <Watermark/>
   <TimeStamp/>
   <ItemId/> 
   <ParentFolderId/>
   <UnreadCount/>
</ModifiedEvent>

ModifiedEventType

Attributes and elements

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

Attributes

None.

Child elements

Element Description
Watermark
Represents an event bookmark in the mailbox events table.
TimeStamp
Represents the timestamp of a modified item or folder mailbox event.
FolderId
Represents the identifier of the modified folder.
ItemId
Represents the identifier of the modified item.
ParentFolderId
Represents the identifier of the parent folder of the modified item or folder.
UnreadCount
Represents the count of unread items within a given folder.

Parent elements

Element Description
Notification
Contains information about the subscription and the events that have occurred since the last notification.

Remarks

Two modified events are generated for each modification of an item in a folder. One event is relevant to the item that changed. The other event is relevant to the parent folder of the item. This is the same folder that the subscription was created against. The event that is associated with the folder is used to communicate a potential change to the UnreadCount property on the folder.

The schema that describes this element is located in the EWS virtual directory of the computer that is running MicrosoftExchange Server 2007 that has the Client Access server role installed.

Element information

Element Example
Namespace
http://schemas.microsoft.com/exchange/services/2006/types
Schema name
Types schema
Validation file
Types.xsd
Can be empty
False

See also