Table of Contents

Class DedicatedGatewayRequestOptions

Namespace
Microsoft.Azure.Cosmos
Assembly
Microsoft.Azure.Cosmos.Client.dll

The Dedicated Gateway request options

public class DedicatedGatewayRequestOptions
Inheritance
DedicatedGatewayRequestOptions
Inherited Members
Extension Methods

Constructors

DedicatedGatewayRequestOptions()

public DedicatedGatewayRequestOptions()

Properties

MaxIntegratedCacheStaleness

Gets or sets the staleness value associated with the request in the Azure CosmosDB service.

public TimeSpan? MaxIntegratedCacheStaleness { get; set; }

Property Value

TimeSpan?

Default value is null.

Remarks

For requests where the ConsistencyLevel is Eventual or Session, responses from the integrated cache are guaranteed to be no staler than value indicated by this MaxIntegratedCacheStaleness. Cache Staleness is supported in milliseconds granularity. Anything smaller than milliseconds will be ignored.