BrowseMessagesBySelector method

Browses messages queued in the message store that satisfy the given selector.

Syntax
Visual Basic
Public Function BrowseMessagesBySelector( _
   ByVal selector As String _
) As System.Collections.IEnumerator
C#
public System.Collections.IEnumerator BrowseMessagesBySelector(
   string  selector
);
Parameters
  • selector   The selector.

Return value

An enumerator over the available messages.

Remarks

The message is just being browsed, so it 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