Return the ServerSession's Session. This must be a Session created by the same Connection that will be dispatching messages to it. The provider will assign one or more messages to the Session and then call start on the ServerSession.

Namespace:  Kaazing.JMS
Assembly:  Kaazing.JMS (in Kaazing.JMS.dll)

Syntax

Visual Basic
ReadOnly Property Session As ISession
	Get
C#
ISession Session { get; }
Visual C++
property ISession^ Session {
	ISession^ get ();
}

Return Value

the server session's session

Exceptions

ExceptionCondition
Kaazing.JMS..::..JMSExceptionif the JMS provider fails to get the associated session for this ServerSession due to some internal error.

See Also