RequestOptions.AccessCondition Property

Definition

Gets or sets the condition (ETag) associated with the request in the Azure DocumentDB database service.

public Microsoft.Azure.Documents.Client.AccessCondition AccessCondition { get; set; }
Property Value

The condition (ETag) associated with the request.

Remarks

Most commonly used with the Delete* and Replace* methods of DocumentClient such as ReplaceDocumentAsync(Document, RequestOptions) or ReplaceDocumentAsync(String, Object, RequestOptions) methods, but can be used with other methods like ReadDocumentAsync(String, RequestOptions) for caching scenarios.