Table of Contents

Class TransactionalBatchOperationResult

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

Represents a result for a specific operation that was part of a TransactionalBatch request.

public class TransactionalBatchOperationResult
Inheritance
TransactionalBatchOperationResult
Derived
Inherited Members
Extension Methods

Constructors

TransactionalBatchOperationResult()

Initializes a new instance of the TransactionalBatchOperationResult class.

protected TransactionalBatchOperationResult()

Properties

ETag

Gets the entity tag associated with the resource.

public virtual string ETag { get; }

Property Value

string

The entity tag associated with the resource.

Remarks

ETags are used for concurrency checking when updating resources.

IsSuccessStatusCode

Gets a value indicating whether the current operation completed successfully.

public virtual bool IsSuccessStatusCode { get; }

Property Value

bool

ResourceStream

Gets the content of the resource.

public virtual Stream ResourceStream { get; }

Property Value

Stream

The content of the resource as a Stream.

RetryAfter

In case the operation is rate limited, indicates the time post which a retry can be attempted.

public virtual TimeSpan RetryAfter { get; }

Property Value

TimeSpan

StatusCode

Gets the completion status of the operation.

public virtual HttpStatusCode StatusCode { get; }

Property Value

HttpStatusCode