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);
- token
- CancellationToken
(Optional) The CancellationToken allows for notification that operations should be cancelled.
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);
- TResult
The type of the object returned in the query result.
- token
- CancellationToken
(Optional) The CancellationToken allows for notification that operations should be cancelled.
The Task object for the asynchronous response from query execution.