[TIBCO.EMS .NET client library 5.1 documentation]
Assembly: TIBCO.EMS (in TIBCO.EMS.dll)
Create a QueueBrowser object to peek at the messages on
the specified queue using a message selector.
Namespace:
TIBCO.EMSAssembly: TIBCO.EMS (in TIBCO.EMS.dll)
Syntax
public QueueBrowser CreateBrowser( Queue queue, string messageSelector ) |
Public Function CreateBrowser ( _ queue As Queue, _ messageSelector As String _ ) As QueueBrowser |
public: QueueBrowser^ CreateBrowser( Queue^ queue, String^ messageSelector ) |
Parameters
- queue
- Type: TIBCO.EMS..::.Queue
The queue to browse
- messageSelector
- Type: System..::.String
Only messages with properties matching the message selector expression are delivered. A value of null or an empty string specifies that the browser is to view all messages in the queue.
Exceptions
Exception | Condition |
---|---|
TIBCO.EMS..::.EMSException | If the session fails to create a browser due to some internal error. |
TIBCO.EMS..::.InvalidDestinationException | If an invalid destination is specified. |
TIBCO.EMS..::.InvalidSelectorException | If the message selector is invalid. |