IDocumentQuery<T>.ExecuteNextAsync Method

Definition

Overloads

ExecuteNextAsync(CancellationToken)

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

ExecuteNextAsync<TResult>(CancellationToken)

Executes the query and retrieves the next page of results in the Azure DocumentDB database service.

ExecuteNextAsync(CancellationToken)

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

public System.Threading.Tasks.Task<Microsoft.Azure.Documents.Client.FeedResponse<dynamic>> ExecuteNextAsync (System.Threading.CancellationToken token = null);
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 DocumentDB database service.

public System.Threading.Tasks.Task<Microsoft.Azure.Documents.Client.FeedResponse<TResult>> ExecuteNextAsync<TResult> (System.Threading.CancellationToken token = null);
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.