StatusFrequencyStatusFrequency

StatusFrequency元素表示服务器尝试重试的最大超时值(以分钟为单位)。The StatusFrequency element represents the maximum timeout value, in minutes, in which retries are attempted by the server.

订阅Subscribe

PushSubscriptionRequestPushSubscriptionRequest

StatusFrequencyStatusFrequency

<StatusFrequency/>

SubscriptionStatusFrequencyTypeSubscriptionStatusFrequencyType

属性和元素Attributes and elements

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

AttributesAttributes

无。None.

子元素Child elements

无。None.

父元素Parent elements

元素Element 说明Description
PushSubscriptionRequestPushSubscriptionRequest
表示对基于推送的事件通知订阅的订阅。Represents a subscription to a push-based event notification subscription.

文本值Text value

如果使用此元素,则需要一个表示整数的文本值。A text value that represents an integer is required if this element is used. 此元素的可能值为1到1440(包含这两个值)。The possible values for this element are 1 to 1440, inclusive. 此元素为可选。This element is optional. 默认值为 30 分钟。The default value is 30 minutes.

备注Remarks

当服务器未收到对推送通知或来自客户端的状态 ping 的响应时,服务器使用StatusFrequency值重试推送通知。The StatusFrequency value is used by the server to retry a push notification when it does not receive a response to a push notification or status ping from the client. 如果服务器没有收到响应,则在停止发送通知之前,它会多次重试发送通知。If the server does not receive a response, it retries sending the notification several times before it stops sending the notification. 在 EWS 中,默认重试间隔为30秒,随后重试次数始终为上次重试间隔的时间的两倍。In EWS, the default retry interval is 30 seconds and subsequent retries are always double the time of the last retry interval. 重试次数并不完全取决于服务器上的其他负载是否会延迟。Retry times are not exact as they can be delayed due to other loads on the server. 下表显示了在由默认StatusFrequency值(假定服务器未遇到任何延迟)分配的30分钟内重试间隔的发生方式。The following table shows how the retry intervals occur in the 30 minutes allotted by the default StatusFrequency value (assuming the server did not encounter any delays).

重试Retry Seconds TimeTime
00
00
初始同步Initial sync
1 1
3030
00:3000:30
双面2
6060
01:0001:00
第三章3
120120
02:0002:00
4 4
240240
04:0004:00
5 5
480480
08:0008:00
6 6
960960
16:0016:00
7 7
19201920
32:00-超过StatusFrequency的默认值30,不发送重试32:00 - StatusFrequency default value of 30 exceeded, retry not sent

如果客户端在超过StatusFrequency指定时间的一段时间内未收到来自服务器的通知消息,客户端应执行重新创建订阅等操作。If the client does not receive notification messages from the server for a period of time that exceeds twice the time specified by StatusFrequency, the client should take an action such as recreating the subscription.

描述此元素的架构位于承载 Exchange Web Services 的 IIS 虚拟目录中。The schema that describes this element is located in the IIS virtual directory that hosts Exchange Web Services.

元素信息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

WatermarkWatermark