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
CancellationToken

A CancellationToken for controlling the lifetime of the asynchronous operation.

Returns

A Task object that represents the asynchronous operation.

Applies to