IDocumentQuery<T>.ExecuteNextAsync Method

Definition

Overloads

ExecuteNextAsync(CancellationToken)

Executes the query and retrieves the next page of results as dynamic objects in the Azure Cosmos DB service.

ExecuteNextAsync<TResult>(CancellationToken)

Executes the query and retrieves the next page of results in the Azure Cosmos DB service.

ExecuteNextAsync(CancellationToken)

Executes the query and retrieves the next page of results as dynamic objects in the Azure Cosmos DB service.

public System.Threading.Tasks.Task<Microsoft.Azure.Documents.Client.FeedResponse<dynamic>> ExecuteNextAsync (System.Threading.CancellationToken token = default);
abstract member ExecuteNextAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Documents.Client.FeedResponse<obj>>
Public Function ExecuteNextAsync (Optional token As CancellationToken = null) As Task(Of FeedResponse(Of Object))

Parameters

token
CancellationToken

(Optional) The CancellationToken allows for notification that operations should be cancelled.

Returns

The Task object for the asynchronous response from query execution.

ExecuteNextAsync<TResult>(CancellationToken)

Executes the query and retrieves the next page of results in the Azure Cosmos DB service.

public System.Threading.Tasks.Task<Microsoft.Azure.Documents.Client.FeedResponse<TResult>> ExecuteNextAsync<TResult> (System.Threading.CancellationToken token = default);
abstract member ExecuteNextAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Documents.Client.FeedResponse<'Result>>
Public Function ExecuteNextAsync(Of TResult) (Optional token As CancellationToken = null) As Task(Of FeedResponse(Of TResult))

Type Parameters

TResult

The type of the object returned in the query result.

Parameters

token
CancellationToken

(Optional) The CancellationToken allows for notification that operations should be cancelled.

Returns

Task<FeedResponse<TResult>>

The Task object for the asynchronous response from query execution.

Applies to