TransactionalBatchItemRequestOptions Class

Definition

RequestOptions that applies to an operation within a TransactionalBatch.

public class TransactionalBatchItemRequestOptions : Microsoft.Azure.Cosmos.RequestOptions
type TransactionalBatchItemRequestOptions = class
    inherit RequestOptions
Public Class TransactionalBatchItemRequestOptions
Inherits RequestOptions
Inheritance
TransactionalBatchItemRequestOptions

Constructors

TransactionalBatchItemRequestOptions()

Properties

EnableContentResponseOnWrite

Gets or sets the boolean to only return the headers and status code in the Cosmos DB response for write item operations like Create, Upsert and Replace. This removes the resource from the response. This reduces networking and CPU load by not sending the resource back over the network and serializing it on the client.

IfMatchEtag

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

(Inherited from RequestOptions)
IfNoneMatchEtag

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

(Inherited from RequestOptions)
IndexingDirective

Gets or sets the indexing directive (Include or Exclude) for the request in the Azure Cosmos DB service.

Properties

Application opted Cosmos request context that flow through with the RequestMessage. Context will be available through handlers.

(Inherited from RequestOptions)

Applies to