Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

NmsTemplate.Execute(ISessionCallback) Method

Execute the action specified by the given action object within a NMS Session.

Note: The value of PubSubDomain affects the behavior of this method. If PubSubDomain equals true, then a Session is passed to the callback. If false, then a Session is passed to the callback.

[Visual Basic]
Public NotOverridable Overloads Sub Execute( _
   ByVal action As ISessionCallback _
) _
    Implements INmsOperations.Execute
public object Execute(
   ISessionCallback action


callback object that exposes the session

Return Value

the result object from working with the session



See Also

NmsTemplate Class | Spring.Messaging.Nms.Core Namespace | NmsTemplate.Execute Overload List