Executes a batch operation on a table as an atomic operation.
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 returnValue As IAsyncOperation(Of IList(Of TableResult))
returnValue = instance.ExecuteBatchAsync(batch) |
Syntax
Visual Basic |
---|
Public Function ExecuteBatchAsync ( _
batch As TableBatchOperation _
) As IAsyncOperation(Of IList(Of TableResult)) |
C# |
---|
public IAsyncOperation<IList<TableResult>> ExecuteBatchAsync (
TableBatchOperation batch
) |
C++ |
---|
public:
IAsyncOperation<IList<TableResult^>^>^ ExecuteBatchAsync (
TableBatchOperation^ batch
) |
J# |
---|
public IAsyncOperation<IList<TableResult>> ExecuteBatchAsync (
TableBatchOperation batch
) |
JScript |
---|
public function ExecuteBatchAsync (
batch : TableBatchOperation
) : IAsyncOperation<IList<TableResult>> |
Parameters
- batch
The TableBatchOperation object representing the operations to execute on the table.
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