Connection.CreateSession


Method

Declaration

virtual Session CreateSession( 
    bool transacted, 
    SessionMode acknowledgeMode ); 
 
virtual Session CreateSession( 
    bool transacted, 
    int acknowledgeMode ); 

Purpose

Create a session object.

Remarks

The new session uses the connection for all server communications.

Parameter
Description
transacted
When true, the new session has transaction semantics.
When false, it has non-transaction semantics.
acknowledgeMode
This parameter determines the acknowledge mode of the session.
Supply a value enumerated by the members of SessionMode.
For backward compatibility, you may also supply an integer value from the members of Session.

See Also

Message.Acknowledge

Session

Acknowledge Modes

SessionMode


TIBCO Enterprise Message Service™ .NET Reference
System Release 4.3, February 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com