Collapse All Expand All

.NET Framework Class Library
QueueBrowser Class See Also

[TIBCO.EMS .NET client library 5.1 documentation]

Advance the browser’s enumeration to the next message

Namespace: TIBCO.EMS
Assembly: TIBCO.EMS (in TIBCO.EMS.dll)

# Syntax

    public bool MoveNext()

    Public Function MoveNext As Boolean

    public:
    virtual bool MoveNext() sealed

#### Return Value

True if another message exists; the Current property subsequently presents the next message. Returns false otherwise.

#### Implements

IEnumerator..::.MoveNext()()()

# Remarks

A browser is a dynamic enumerator of the queue (not a static snapshot). The queue is at the server, and its contents change as message arrive and consumers remove them. Meanwhile, while the browser is at the client. This method asks the server for the next message after Current—that is, the next message that is still in the queue.

After creating a browser, programs must first call this method on the enumerator to move to the first message.

# See Also

QueueBrowser Class
TIBCO.EMS Namespace