IFileEntityAsyncEnumerator.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.
Returns the next file or folder in the enumeration. This method can be called from any thread but only one thread can call it at any one time.
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
(optional) Cancellation token to cancel the task.
Returns
A task that represents the asynchronous operation. Returns null
if there is no entity to fetch.
Remarks
Returns False
when IsValid is False
.