共用方式為


CloudTable.ExecuteAsync Method

Definition

Overloads

ExecuteAsync(TableOperation, TableRequestOptions, OperationContext)

Initiates an asynchronous operation that executes an asynchronous table operation.

ExecuteAsync(TableOperation)

Initiates an asynchronous operation that executes an asynchronous table operation.

ExecuteAsync(TableOperation, CancellationToken)

Initiates an asynchronous operation that executes an asynchronous table operation.

ExecuteAsync(TableOperation, TableRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation that executes an asynchronous table operation.

ExecuteAsync(TableOperation, TableRequestOptions, OperationContext)

Initiates an asynchronous operation that executes an asynchronous table operation.

public virtual System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableResult> ExecuteAsync (Microsoft.Azure.Cosmos.Table.TableOperation operation, Microsoft.Azure.Cosmos.Table.TableRequestOptions requestOptions, Microsoft.Azure.Cosmos.Table.OperationContext operationContext);
abstract member ExecuteAsync : Microsoft.Azure.Cosmos.Table.TableOperation * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableResult>
override this.ExecuteAsync : Microsoft.Azure.Cosmos.Table.TableOperation * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableResult>
Public Overridable Function ExecuteAsync (operation As TableOperation, requestOptions As TableRequestOptions, operationContext As OperationContext) As Task(Of TableResult)

Parameters

operation
TableOperation

A TableOperation object that represents the operation to perform.

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 of type TableResult that represents the asynchronous operation.

Applies to

ExecuteAsync(TableOperation)

Initiates an asynchronous operation that executes an asynchronous table operation.

public virtual System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableResult> ExecuteAsync (Microsoft.Azure.Cosmos.Table.TableOperation operation);
abstract member ExecuteAsync : Microsoft.Azure.Cosmos.Table.TableOperation -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableResult>
override this.ExecuteAsync : Microsoft.Azure.Cosmos.Table.TableOperation -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableResult>
Public Overridable Function ExecuteAsync (operation As TableOperation) As Task(Of TableResult)

Parameters

operation
TableOperation

A TableOperation object that represents the operation to perform.

Returns

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

Applies to

ExecuteAsync(TableOperation, CancellationToken)

Initiates an asynchronous operation that executes an asynchronous table operation.

public virtual System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableResult> ExecuteAsync (Microsoft.Azure.Cosmos.Table.TableOperation operation, System.Threading.CancellationToken cancellationToken);
abstract member ExecuteAsync : Microsoft.Azure.Cosmos.Table.TableOperation * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableResult>
override this.ExecuteAsync : Microsoft.Azure.Cosmos.Table.TableOperation * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableResult>
Public Overridable Function ExecuteAsync (operation As TableOperation, cancellationToken As CancellationToken) As Task(Of TableResult)

Parameters

operation
TableOperation

A TableOperation object that represents the operation to perform.

cancellationToken
CancellationToken

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

Returns

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

Applies to

ExecuteAsync(TableOperation, TableRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation that executes an asynchronous table operation.

public virtual System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableResult> ExecuteAsync (Microsoft.Azure.Cosmos.Table.TableOperation operation, Microsoft.Azure.Cosmos.Table.TableRequestOptions requestOptions, Microsoft.Azure.Cosmos.Table.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
abstract member ExecuteAsync : Microsoft.Azure.Cosmos.Table.TableOperation * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableResult>
override this.ExecuteAsync : Microsoft.Azure.Cosmos.Table.TableOperation * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableResult>
Public Overridable Function ExecuteAsync (operation As TableOperation, requestOptions As TableRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of TableResult)

Parameters

operation
TableOperation

A TableOperation object that represents the operation to perform.

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 of type TableResult that represents the asynchronous operation.

Applies to