Udostępnij za pośrednictwem


TableQuery<TElement>.ExecuteSegmentedAsync Method

Definition

Overloads

ExecuteSegmentedAsync(TableContinuationToken)

Initiates an asynchronous operation to execute a query and return the results as a result segment.

ExecuteSegmentedAsync(TableContinuationToken, CancellationToken)

Initiates an asynchronous operation to execute a query and return the results as a result segment.

ExecuteSegmentedAsync(TableContinuationToken, TableRequestOptions, OperationContext)

Initiates an asynchronous operation to execute a query and return the results as a result segment.

ExecuteSegmentedAsync(TableContinuationToken, TableRequestOptions, OperationContext, CancellationToken)

Begins an asynchronous operation to execute a query and return the results as a result segment.

ExecuteSegmentedAsync(TableContinuationToken)

Initiates an asynchronous operation to execute a query and return the results as a result segment.

public virtual System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<TElement>> ExecuteSegmentedAsync (Microsoft.Azure.Cosmos.Table.TableContinuationToken currentToken);
abstract member ExecuteSegmentedAsync : Microsoft.Azure.Cosmos.Table.TableContinuationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<'Element>>
override this.ExecuteSegmentedAsync : Microsoft.Azure.Cosmos.Table.TableContinuationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<'Element>>
Public Overridable Function ExecuteSegmentedAsync (currentToken As TableContinuationToken) As Task(Of TableQuerySegment(Of TElement))

Parameters

currentToken
TableContinuationToken

A continuation token returned by a previous listing operation, can be null.

Returns

Task<TableQuerySegment<TElement>>

A Task<TResult> of type TableQuerySegment<TElement> that represents the asynchronous operation.

Applies to

ExecuteSegmentedAsync(TableContinuationToken, CancellationToken)

Initiates an asynchronous operation to execute a query and return the results as a result segment.

public virtual System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<TElement>> ExecuteSegmentedAsync (Microsoft.Azure.Cosmos.Table.TableContinuationToken currentToken, System.Threading.CancellationToken cancellationToken);
abstract member ExecuteSegmentedAsync : Microsoft.Azure.Cosmos.Table.TableContinuationToken * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<'Element>>
override this.ExecuteSegmentedAsync : Microsoft.Azure.Cosmos.Table.TableContinuationToken * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<'Element>>
Public Overridable Function ExecuteSegmentedAsync (currentToken As TableContinuationToken, cancellationToken As CancellationToken) As Task(Of TableQuerySegment(Of TElement))

Parameters

currentToken
TableContinuationToken

A continuation token returned by a previous listing operation, can be null.

cancellationToken
CancellationToken

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

Returns

Task<TableQuerySegment<TElement>>

A Task<TResult> of type TableQuerySegment<TElement> that represents the asynchronous operation.

Applies to

ExecuteSegmentedAsync(TableContinuationToken, TableRequestOptions, OperationContext)

Initiates an asynchronous operation to execute a query and return the results as a result segment.

public virtual System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<TElement>> ExecuteSegmentedAsync (Microsoft.Azure.Cosmos.Table.TableContinuationToken currentToken, Microsoft.Azure.Cosmos.Table.TableRequestOptions requestOptions, Microsoft.Azure.Cosmos.Table.OperationContext operationContext);
abstract member ExecuteSegmentedAsync : Microsoft.Azure.Cosmos.Table.TableContinuationToken * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<'Element>>
override this.ExecuteSegmentedAsync : Microsoft.Azure.Cosmos.Table.TableContinuationToken * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<'Element>>
Public Overridable Function ExecuteSegmentedAsync (currentToken As TableContinuationToken, requestOptions As TableRequestOptions, operationContext As OperationContext) As Task(Of TableQuerySegment(Of TElement))

Parameters

currentToken
TableContinuationToken

A continuation token returned by a previous listing operation, can be null.

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

Task<TableQuerySegment<TElement>>

A Task<TResult> of type TableQuerySegment<TElement> that represents the asynchronous operation.

Applies to

ExecuteSegmentedAsync(TableContinuationToken, TableRequestOptions, OperationContext, CancellationToken)

Begins an asynchronous operation to execute a query and return the results as a result segment.

public virtual System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<TElement>> ExecuteSegmentedAsync (Microsoft.Azure.Cosmos.Table.TableContinuationToken currentToken, Microsoft.Azure.Cosmos.Table.TableRequestOptions requestOptions, Microsoft.Azure.Cosmos.Table.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
abstract member ExecuteSegmentedAsync : Microsoft.Azure.Cosmos.Table.TableContinuationToken * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<'Element>>
override this.ExecuteSegmentedAsync : Microsoft.Azure.Cosmos.Table.TableContinuationToken * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Table.TableQuerySegment<'Element>>
Public Overridable Function ExecuteSegmentedAsync (currentToken As TableContinuationToken, requestOptions As TableRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of TableQuerySegment(Of TElement))

Parameters

currentToken
TableContinuationToken

A TableContinuationToken object returned by a previous listing operation. May be null.

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

The token to monitor for cancellation requests.

Returns

Task<TableQuerySegment<TElement>>

An IAsyncResult that references the asynchronous operation.

Applies to