NewMailEventNewMailEvent

NewMailEvent元素表示邮箱中的新邮件项目触发的事件。The NewMailEvent element represents an event that is triggered by a new mail item in a mailbox.

<NewMailEvent>
   <Watermark/>
   <TimeStamp/>
   <ItemId/>
   <ParentFolderId/>
</NewMailEvent>

BaseObjectChangedEventTypeBaseObjectChangedEventType

属性和元素Attributes and elements

下面各部分介绍了属性、子元素和父元素。The following sections describe attributes, child elements, and parent elements.

AttributesAttributes

无。None.

子元素Child elements

元素Element 说明Description
WatermarkWatermark
表示邮箱事件表中的事件书签。Represents an event bookmark in the mailbox events table.
TimeStampTimeStamp
表示邮箱中新邮件项目到达的时间戳。Represents the timestamp of the arrival of a new mail item in a mailbox.
ItemIdItemId
表示新邮件项目的标识符。Represents the identifier of a new mail item.
ParentFolderIdParentFolderId
表示新邮件项目的父文件夹的标识符。Represents the identifier of the parent folder of the new mail item.

父元素Parent elements

元素Element 说明Description
通知Notification
包含有关订阅以及上次通知之后发生的事件的信息。Contains information about the subscription and the events that have occurred since the last notification.

说明Remarks

描述此元素的架构位于正在运行 MicrosoftExchange Server 2007 的计算机(已安装客户端访问服务器角色)的 EWS 虚拟目录中。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

命名空间Namespace
https://schemas.microsoft.com/exchange/services/2006/types
架构名称Schema name
类型架构Types schema
验证文件Validation file
Types.xsdTypes.xsd
可以为空Can be empty
FalseFalse

另请参阅See also

订阅操作Subscribe operation

GetEvents 操作GetEvents operation

取消订阅操作Unsubscribe operation