Creates a new session to work on this connection

Namespace:  Apache.NMS
Assembly:  Apache.NMS (in Apache.NMS.dll)

Syntax

Visual Basic
Function CreateSession ( _
	acknowledgementMode As AcknowledgementMode _
) As ISession
C#
ISession CreateSession(
	AcknowledgementMode acknowledgementMode
)
Visual C++
ISession^ CreateSession(
	AcknowledgementMode acknowledgementMode
)
JavaScript
function createSession(acknowledgementMode);

Parameters

acknowledgementMode
Type: Apache.NMS..::..AcknowledgementMode

See Also