CloudTable.ExecuteAsync Method (TableOperation, TableRequestOptions, OperationContext)

Windows Runtime Azure Storage Client Library

Executes the operation on a table, 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 operation As TableOperation
Dim requestOptions As TableRequestOptions
Dim operationContext As OperationContext
Dim returnValue As IAsyncOperation(Of TableResult)

returnValue = instance.ExecuteAsync(operation, requestOptions, operationContext)

Syntax

Visual Basic
Public Function ExecuteAsync ( _
	operation As TableOperation, _
	requestOptions As TableRequestOptions, _
	operationContext As OperationContext _
) As IAsyncOperation(Of TableResult)
C#
public IAsyncOperation<TableResult> ExecuteAsync (
	TableOperation operation,
	TableRequestOptions requestOptions,
	OperationContext operationContext
)
C++
public:
IAsyncOperation<TableResult^>^ ExecuteAsync (
	TableOperation^ operation, 
	TableRequestOptions^ requestOptions, 
	OperationContext^ operationContext
)
J#
public IAsyncOperation<TableResult> ExecuteAsync (
	TableOperation operation, 
	TableRequestOptions requestOptions, 
	OperationContext operationContext
)
JScript
public function ExecuteAsync (
	operation : TableOperation, 
	requestOptions : TableRequestOptions, 
	operationContext : OperationContext
) : IAsyncOperation<TableResult>

Parameters

operation

A TableOperation object that represents the operation to perform.

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

A TableResult containing the result of executing the operation 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

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also