IDocumentQuery<T>.ExecuteNextAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 = Nothing) 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.
Applies to
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 = Nothing) 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
The Task object for the asynchronous response from query execution.
Applies to
Azure SDK for .NET