IPagedEnumerator<T>.MoveNextAsync(CancellationToken) 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.
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.