UCC_SUBSCRIPTION_CONTEXT Enumeration
Assembly: Microsoft.Office.Interop.UccApi (in microsoft.office.interop.uccapi.dll)
| Member name | Description |
|---|---|
| UCCSC_RETRY_TIMEOUT | The ID of a property of an integer value describing the retry timeout in seconds. The default value is 30 seconds. |
| UCCSC_THROTTLE_LIMIT | The ID of a property of an integer value describing the throttling limit in seconds. The minimum of this property value is 120 seconds or 2 minutes. |
A SUBSCRIBE request in a subscription fails when the underlying server is down or other errors occur. In such cases the UCC API resubmits the request periodically until the request succeeds. This process is known as subscription Retry. The period of Retry is known as Retry Timeout. Its value is specified by the UCCSC_RETRY_TIMEOUT property defined in this enumeration type. In a polling subscription the UCC API throttles the Query requests to control how often such a request is sent to the server. The frequency is determined by the UCCSC_THROTTLE_LIMIT property defined here. For example, a client calls Query twice in 30 seconds. The API will delays sending the second request for a time period specified by the UCCSC_THROTTLE_LIMIT property value. Because of throttling a client can get the results of a Query request that can be at minimum two minutes stale.
Win32 COM/C++ Syntax
typedef enum UCC_SUBSCRIPTION_CONTEXT
{
UCCSC_RETRY_TIMEOUT = 1,
UCCSC_THROTTLE_LIMIT = 2
};