SubscriptionStatusSubscriptionStatus

SubscriptionStatus元素描述推送订阅的状态。The SubscriptionStatus element describes the status of a push subscription.

<SubscriptionStatus>OK or Unsubscribe</SubscriptionStatus>

SubscriptionStatusTypeSubscriptionStatusType

属性和元素Attributes and elements

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

AttributesAttributes

无。None.

子元素Child elements

无。None.

父元素Parent elements

元素Element 说明Description
SendNotificationResultSendNotificationResult
包含客户端应用程序对推送通知的响应。Contains the response of the client application' to a push notification.

文本值Text value

文本值是必需的。A text value is required. 以下是此元素的可能的文本值:The following are the possible text values for this element:

  • 确定OK

  • 取消订阅Unsubscribe

备注Remarks

此元素描述订阅的状态。This element describes the status of the subscription. 推送订阅客户端应用程序将状态返回到运行 Exchange 2007 且在每个推送通知之后安装了客户端访问服务器角色的计算机。The push subscription client application sends the status back to the computer that is running Exchange 2007 that has the Client Access server role installed after each push notification. 如果SubscriptionStatus值等于 "取消订阅",客户端访问服务器将停止发送通知并结束订阅。If the SubscriptionStatus value equals Unsubscribe, the Client Access server will stop sending notifications and end the subscription. 如果SubscriptionStatus值等于 "确定",客户端访问服务器将继续发送通知。If the SubscriptionStatus value equals OK, the Client Access server will continue to send notifications.

描述此元素的架构位于正在运行 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/messages
架构名称Schema Name
消息架构Messages schema
验证文件Validation File
Messages.xsdMessages.xsd
可以为空Can be Empty
FalseFalse

另请参阅See also