System.Messaging Reference (Document! X Sample)
System.Messaging Namespace / MessageEnumerator Class / MoveNext Method



In This Topic
    MoveNext Method (MessageEnumerator)
    In This Topic
    Advances the enumerator to the next message in the queue, if one is currently available.
    Overload List
    OverloadDescription
    Advances the enumerator to the next message in the queue, if one is currently available.  
    Advances the enumerator to the next message in the queue. If the enumerator is positioned at the end of the queue, MoveNext waits until a message is available or the given timeout expires.  
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also