BrowseMessagesByQueue method

Browses the next available messages waiting that have been sent to the given address.

Syntax
Visual Basic
Public Function BrowseMessagesByQueue( _
   ByVal address As String _
) As System.Collections.IEnumerator
C#
public System.Collections.IEnumerator BrowseMessagesByQueue(
   string  address
);
Parameters
  • address   The address of the messages.

Return value

An enumerator over the available messages.

Remarks

The messages are just being browsed, so they cannot be acknowledged. Because browsing messages allocates native resources, you should call the Reset() method of the enumerator when you are done with it. If it is not called, the native resources are not freed until this QAManagerBase object is freed.

Use QAManagerBase.GetMessage to receive messages so they can be acknowledged.

See also