IDbAsyncEnumerator.MoveNextAsync Method (CancellationToken)
Advances the enumerator to the next element in the sequence, returning the result asynchronously.
Assembly: EntityFramework (in EntityFramework.dll)
Parameters
- cancellationToken
-
Type:
System.Threading.CancellationToken
A CancellationToken to observe while waiting for the task to complete.
Return Value
Type: System.Threading.Tasks.Task<Boolean>A task that represents the asynchronous operation. The task result contains true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the sequence.