Executes a batch operation on a table as an atomic operation, using the specified
TableRequestOptions and
OperationContext.
Namespace: Microsoft.WindowsAzure.Storage.Table
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Usage
Visual Basic |
---|
Dim instance As CloudTable
Dim batch As TableBatchOperation
Dim requestOptions As TableRequestOptions
Dim operationContext As OperationContext
Dim returnValue As IAsyncOperation(Of IList(Of TableResult))
returnValue = instance.ExecuteBatchAsync(batch, requestOptions, operationContext) |
Syntax
Visual Basic |
---|
Public Function ExecuteBatchAsync ( _
batch As TableBatchOperation, _
requestOptions As TableRequestOptions, _
operationContext As OperationContext _
) As IAsyncOperation(Of IList(Of TableResult)) |
C# |
---|
public IAsyncOperation<IList<TableResult>> ExecuteBatchAsync (
TableBatchOperation batch,
TableRequestOptions requestOptions,
OperationContext operationContext
) |
C++ |
---|
public:
IAsyncOperation<IList<TableResult^>^>^ ExecuteBatchAsync (
TableBatchOperation^ batch,
TableRequestOptions^ requestOptions,
OperationContext^ operationContext
) |
J# |
---|
public IAsyncOperation<IList<TableResult>> ExecuteBatchAsync (
TableBatchOperation batch,
TableRequestOptions requestOptions,
OperationContext operationContext
) |
JScript |
---|
public function ExecuteBatchAsync (
batch : TableBatchOperation,
requestOptions : TableRequestOptions,
operationContext : OperationContext
) : IAsyncOperation<IList<TableResult>> |
Parameters
- batch
The TableBatchOperation object representing the operations to execute on the table.
- requestOptions
A TableRequestOptions object that specifies execution options, such as retry policy and timeout settings, for the operation.
- operationContext
An OperationContext object for tracking the current operation.
Return Value
An enumerable collection of
TableResult objects that contains the results, in order, of each operation in the
TableBatchOperation on the table.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
See Also