Share via


IChangeFeedDocumentQuery<T>.ExecuteNextAsync<TResult> Method

Definition

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.IFeedResponse<TResult>> ExecuteNextAsync<TResult> (System.Threading.CancellationToken token = default);
abstract member ExecuteNextAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Documents.Client.IFeedResponse<'Result>>
Public Function ExecuteNextAsync(Of TResult) (Optional token As CancellationToken = Nothing) As Task(Of IFeedResponse(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<IFeedResponse<TResult>>

The Task object for the asynchronous response from query execution.

Applies to