RequestOptions.IfMatchEtag Property

Definition

Gets or sets the If-Match (ETag) associated with the request in the Azure Cosmos DB service.

public string IfMatchEtag { get; set; }
member this.IfMatchEtag : string with get, set
Public Property IfMatchEtag As String

Property Value

String

Remarks

Most commonly used with the Delete* and Replace* methods of Container such as ReplaceItemAsync<T>(T, String, Nullable<PartitionKey>, ItemRequestOptions, CancellationToken) but can be used with other methods like ReadItemAsync<T>(String, PartitionKey, ItemRequestOptions, CancellationToken) for caching scenarios.

Applies to