Advances the enumerator to the next message of the enumeration and returns a boolean indicating whether a message is available. 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 Overridable Public Function MoveNext() As Boolean [C#] public virtual bool MoveNext(); [C++] public: virtual bool MoveNext(); [JScript] public function MoveNext() : 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