Condividi tramite


CloudTable.ExecuteBatchAsync Method

Definition

Overloads

ExecuteBatchAsync(TableBatchOperation)

Initiates an asynchronous operation to execute a batch of operations on a table.

ExecuteBatchAsync(TableBatchOperation, CancellationToken)

Initiates an asynchronous operation to execute a batch of operations on a table.

ExecuteBatchAsync(TableBatchOperation, TableRequestOptions, OperationContext)

Initiates an asynchronous operation to execute a batch of operations on a table.

ExecuteBatchAsync(TableBatchOperation, TableRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to execute a batch of operations on a table.

ExecuteBatchAsync(TableBatchOperation)

Initiates an asynchronous operation to execute a batch of operations on a table.

public virtual System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableBatchResult> ExecuteBatchAsync (Microsoft.Azure.Cosmos.Table.TableBatchOperation batch);
abstract member ExecuteBatchAsync : Microsoft.Azure.Cosmos.Table.TableBatchOperation -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableBatchResult>
override this.ExecuteBatchAsync : Microsoft.Azure.Cosmos.Table.TableBatchOperation -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableBatchResult>
Public Overridable Function ExecuteBatchAsync (batch As TableBatchOperation) As Task(Of TableBatchResult)

Parameters

batch
TableBatchOperation

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

Returns

A Task<TResult> object that is list of type TableResult that represents the asynchronous operation.

Applies to

ExecuteBatchAsync(TableBatchOperation, CancellationToken)

Initiates an asynchronous operation to execute a batch of operations on a table.

public virtual System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableBatchResult> ExecuteBatchAsync (Microsoft.Azure.Cosmos.Table.TableBatchOperation batch, System.Threading.CancellationToken cancellationToken);
abstract member ExecuteBatchAsync : Microsoft.Azure.Cosmos.Table.TableBatchOperation * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableBatchResult>
override this.ExecuteBatchAsync : Microsoft.Azure.Cosmos.Table.TableBatchOperation * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableBatchResult>
Public Overridable Function ExecuteBatchAsync (batch As TableBatchOperation, cancellationToken As CancellationToken) As Task(Of TableBatchResult)

Parameters

batch
TableBatchOperation

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

cancellationToken
CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

A Task<TResult> object that is list of type TableResult that represents the asynchronous operation.

Applies to

ExecuteBatchAsync(TableBatchOperation, TableRequestOptions, OperationContext)

Initiates an asynchronous operation to execute a batch of operations on a table.

public virtual System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableBatchResult> ExecuteBatchAsync (Microsoft.Azure.Cosmos.Table.TableBatchOperation batch, Microsoft.Azure.Cosmos.Table.TableRequestOptions requestOptions, Microsoft.Azure.Cosmos.Table.OperationContext operationContext);
abstract member ExecuteBatchAsync : Microsoft.Azure.Cosmos.Table.TableBatchOperation * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableBatchResult>
override this.ExecuteBatchAsync : Microsoft.Azure.Cosmos.Table.TableBatchOperation * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableBatchResult>
Public Overridable Function ExecuteBatchAsync (batch As TableBatchOperation, requestOptions As TableRequestOptions, operationContext As OperationContext) As Task(Of 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

A Task<TResult> object that is list of type TableResult that represents the asynchronous operation.

Applies to

ExecuteBatchAsync(TableBatchOperation, TableRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to execute a batch of operations on a table.

public virtual System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableBatchResult> ExecuteBatchAsync (Microsoft.Azure.Cosmos.Table.TableBatchOperation batch, Microsoft.Azure.Cosmos.Table.TableRequestOptions requestOptions, Microsoft.Azure.Cosmos.Table.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
abstract member ExecuteBatchAsync : Microsoft.Azure.Cosmos.Table.TableBatchOperation * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableBatchResult>
override this.ExecuteBatchAsync : Microsoft.Azure.Cosmos.Table.TableBatchOperation * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableBatchResult>
Public Overridable Function ExecuteBatchAsync (batch As TableBatchOperation, requestOptions As TableRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of 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.

cancellationToken
CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

A Task<TResult> object that is list of type TableResult that represents the asynchronous operation.

Applies to