IPagedEnumerator<T>.MoveNextAsync(CancellationToken) Method

Definition

Begins an asynchronous call to advance the enumerator to the next element of the collection.

public System.Threading.Tasks.Task<bool> MoveNextAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member MoveNextAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Function MoveNextAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Boolean)

Parameters

cancellationToken
System.Threading.CancellationToken

A System.Threading.CancellationToken for controlling the lifetime of the asynchronous operation.

Returns

System.Threading.Tasks.Task<System.Boolean>

A System.Threading.Tasks.Task object that represents the asynchronous operation.

Applies to