Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

NmsResourceHolder.AddSession(ISession, IConnection) Method

Adds the session and connection to the list of resources managed by this holder.

[Visual Basic]
Public Overloads Sub AddSession( _
   ByVal session As ISession, _
   ByVal connection As IConnection _
)
[C#]
public void AddSession(
   ISession session,
   IConnection connection
);

Parameters

session
The session.
connection
The connection.

See Also

NmsResourceHolder Class | Spring.Messaging.Nms.Connections Namespace | NmsResourceHolder.AddSession Overload List