An NDoc Documented Class Library

ISession.CreateBrowser Method (IDestination, String)

Creates a queue browser.

IQueueBrowser CreateBrowser(
   IDestination queue,
   string messageSelector
);

Parameters

queue
The queue to browse.
messageSelector
A selector on which to filter messages.

Return Value

A new queue browser.

Exceptions

Exception Type Condition
MsgException Thrown when an error occurs creating the queue browser.
InvalidDestinationException Thrown when an invalid destination is specified.
InvalidSelectorException Thrown when an invalid message selector is specified.

See Also

ISession Interface | webMethods.Msg Namespace | ISession.CreateBrowser Overload List