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



In This Topic
    MoveNext Method (MessageQueueEnumerator)
    In This Topic
    Advances the enumerator to the next queue of the enumeration, if one is currently available.
    Syntax
    'Declaration
     
    
    Public Function MoveNext() As Boolean
    'Usage
     
    
    Dim instance As MessageQueueEnumerator
    Dim value As Boolean
     
    value = instance.MoveNext()
    public bool MoveNext()
    public:
    bool MoveNext(); 

    Return Value

    true if the enumerator was successfully advanced to the next queue; false if the enumerator has reached the end of the enumeration.
    Exceptions
    ExceptionDescription
    The calling code does not have browse permissions.
    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