CloudTable.ExecuteBatch Method

Definition

Executes a batch operation on a table as an atomic operation.

public virtual Microsoft.Azure.Cosmos.Table.TableBatchResult ExecuteBatch (Microsoft.Azure.Cosmos.Table.TableBatchOperation batch, Microsoft.Azure.Cosmos.Table.TableRequestOptions requestOptions = default, Microsoft.Azure.Cosmos.Table.OperationContext operationContext = default);
abstract member ExecuteBatch : Microsoft.Azure.Cosmos.Table.TableBatchOperation * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext -> Microsoft.Azure.Cosmos.Table.TableBatchResult
override this.ExecuteBatch : Microsoft.Azure.Cosmos.Table.TableBatchOperation * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext -> Microsoft.Azure.Cosmos.Table.TableBatchResult
Public Overridable Function ExecuteBatch (batch As TableBatchOperation, Optional requestOptions As TableRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing) As TableBatchResult

Parameters

batch
TableBatchOperation

The TableBatchOperation object representing the operations to execute on the table.

requestOptions
TableRequestOptions

A TableRequestOptions object that specifies additional options for the request.

operationContext
OperationContext

An OperationContext object that represents the context for the current operation.

Returns

An enumerable collection of TableResult objects that contains the results, in order, of each operation in the TableBatchOperation on the table.

Applies to