Same as MoveNext() but with blocking behavior, blocking until a matched entity is available or until timeout expires.
Declaration Syntax
C# | Visual Basic | Visual C++ | J# |
bool MoveNext( long timeout )
Function MoveNext ( _ timeout As Long _ ) As Boolean
bool MoveNext( long long timeout )
boolean MoveNext( long timeout )
Parameters
- timeout (Int64)
- time to wait until a next element is available.
Return Value
true if there was a next entry, false otherwise.
Exceptions
Exception | Condition |
---|---|
NoSuchElementException | Timeout expired and no available match was found. |