Advances the enumerator to the next message of the enumeration and returns a boolean indicating whether a message is available, if the enumerator is positioned at the end of the queue, this operation will wait until a message is available or the given timeout expires. Upon creation, an enumerator is conceptually positioned before the first message of the enumeration, and the first call to MoveNext brings the first message of the enumeration into view.
[Visual Basic] Overloads Public Function MoveNext( _ ByVal timeout As TimeSpan _ ) As Boolean [C#] public bool MoveNext( TimeSpan timeout ); [C++] public: bool MoveNext( TimeSpan timeout ); [JScript] public function MoveNext( timeout : TimeSpan ) : Boolean;
true if the enumerator was succesfully advanced to the next message, false if the enumeration has been completed.
MessagesEnumerator Class | MessagesEnumerator Members | System.Messaging Namespace | MessagesEnumerator.MoveNext Overload List