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!

MessageQueuesEnumerator.MoveNext

Advances the enumerator to the next MessageQueue of the enumeration and returns a boolean indicating whether a MessageQueue is available. Upon creation, an enumerator is conceptually positioned before the first MessageQueue of the enumeration, and the first call to MoveNext brings the first MessageQueue of the enumeration into view.

[Visual Basic]
Overridable Public Function MoveNext() As Boolean
[C#]
public virtual bool MoveNext();
[C++]
public: virtual bool MoveNext();
[JScript]
public function MoveNext() : Boolean;

Return Value

true if the enumerator was succesfully advanced to the next MessageQueue, false if the enumeration has been completed.

See Also

MessageQueuesEnumerator Class | MessageQueuesEnumerator Members | System.Messaging Namespace