[TIBCO.EMS .NET client library 6.0 documentation]

Advance the browser 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