NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

MessagesEnumerator.MoveNext

[To be supplied.]

Overload List

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(TimeSpan) As Boolean
[C#] public bool MoveNext(TimeSpan);
[C++] public: bool MoveNext(TimeSpan);
[JScript] public function MoveNext(TimeSpan) : Boolean;

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;

See Also

MessagesEnumerator Class | MessagesEnumerator Members | System.Messaging Namespace