Dela via


Notification

Topic Last Modified: 2007-03-05

The Notification element contains information about the subscription and the events that have occurred since the last notification.

Syntax

<Notification>
   <SubscriptionId/>
   <PreviousWatermark/>
   <MoreEvents/>
   <CopiedEvent/>
</Notification>

<Notification>
   <SubscriptionId/>
   <PreviousWatermark/>
   <MoreEvents/>
   <CreatedEvent/>
</Notification>

<Notification>
   <SubscriptionId/>
   <PreviousWatermark/>
   <MoreEvents/>
   <DeletedEvent/>
</Notification>

<Notification>
   <SubscriptionId/>
   <PreviousWatermark/>
   <MoreEvents/>
   <ModifiedEvent/>
</Notification>

<Notification>
   <SubscriptionId/>
   <PreviousWatermark/>
   <MoreEvents/>
   <MovedEvent/>
</Notification>

<Notification>
   <SubscriptionId/>
   <PreviousWatermark/>
   <MoreEvents/>
   <NewMailEvent/>
</Notification>

<Notification>
   <SubscriptionId/>
   <PreviousWatermark/>
   <MoreEvents/>
   <StatusEvent/>
</Notification>

Type

NotificationType

Attributes and Elements

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

Attributes

None.

Child Elements

Element Description

SubscriptionId

Represents the identifier for a subscription.

PreviousWatermark

Represents the watermark of the latest event that was successfully communicated to the client for the subscription.

MoreEvents

Indicates whether there are more events in the queue to be delivered to the client.

CopiedEvent

Represents an event in which an item or folder is copied.

CreatedEvent

Represents an event in which an item or folder is created.

DeletedEvent

Represents an event in which an item or folder is deleted.

ModifiedEvent

Represents an event in which an item or folder is modified.

MovedEvent

Represents an event in which an item or folder is moved from one parent folder to another parent folder.

NewMailEvent

Represents an event that is triggered by a new mail item in a mailbox.

StatusEvent

Represents a notification that no new activity has occurred in the mailbox.

Parent Elements

Element Description

GetEventsResponseMessage

Contains the status and result of a single GetEvents request.

SendNotificationResponseMessage

Contains the status and result of a single SendNotification request.

Remarks

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

Element Information

Namespace

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

Schema Name

Types schema

Validation File

Types.xsd

Can be Empty

False