IAsyncEnumeratorTMoveNext Method |
Advances the enumerator to the next element in the sequence, returning the result asynchronously.
Namespace: System.Collections.GenericAssembly: System.Interactive.Async (in System.Interactive.Async.dll) Version: 1.2.0.0
SyntaxTask<bool> MoveNext(
CancellationToken cancellationToken
)
Parameters
- cancellationToken
- Type: System.ThreadingCancellationToken
Cancellation token that can be used to cancel the operation.
Return Value
Type:
TaskBoolean
Task containing the result of the operation: true if the enumerator was successfully advanced
to the next element; false if the enumerator has passed the end of the sequence.
See Also