Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IEmsOperations.BrowseWithDelegate(Queue, BrowserDelegate) Method

Browses messages in a EMS queue. The callback gives access to the EMS Session and QueueBrowser in order to browse the queue and react to the contents.

[Visual Basic]
Public Sub BrowseWithDelegate( _
   ByVal queue As Queue, _
   ByVal action As BrowserDelegate _
)
[C#]
object BrowseWithDelegate(
   Queue queue,
   BrowserDelegate action
);

Parameters

queue
The queue to browse.
action
The action callback delegate that exposes the session/browser pair.

Return Value

the result object from working with the session

See Also

IEmsOperations Interface | Spring.Messaging.Ems.Core Namespace | IEmsOperations.BrowseWithDelegate Overload List