Condividi tramite


IFileEntityAsyncEnumerator.MoveNextAsync(CancellationToken) Method

Definition

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.

Applies to