Creates the FIX Session.

Namespace: FIXForge.NET.FIX
Assembly: FIXForge.NET.FIX.Engine-net-3.5 (in FIXForge.NET.FIX.Engine-net-3.5.dll) Version: 2.79.1.0

Syntax

C#
public Session(
	string senderCompID,
	string targetCompID,
	Dialect dialect,
	bool keepSequenceNumbersBetweenFixConnections,
	SessionStorageType storageType,
	string customSessionKey
)
Visual Basic
Public Sub New ( _
	senderCompID As String, _
	targetCompID As String, _
	dialect As Dialect, _
	keepSequenceNumbersBetweenFixConnections As Boolean, _
	storageType As SessionStorageType, _
	customSessionKey As String _
)
Visual C++
public:
Session(
	String^ senderCompID, 
	String^ targetCompID, 
	Dialect^ dialect, 
	bool keepSequenceNumbersBetweenFixConnections, 
	SessionStorageType storageType, 
	String^ customSessionKey
)

Parameters

senderCompID
Type: System..::..String
Assigned value used to identify firm sending message (SenderCompID (tag 49) field value in outgoing messages).
targetCompID
Type: System..::..String
Assigned value used to identify receiving firm (TargetCompID (tag 56) field value in outgoing messages).
dialect
Type: FIXForge.NET.FIX..::..Dialect
FIX dialect to be used by the session.
keepSequenceNumbersBetweenFixConnections
Type: System..::..Boolean
Option to keep sequence numbers after the exchange of Logout (MsgType=5) messages.
storageType
Type: FIXForge.NET.FIX..::..SessionStorageType
Session's storage type.
customSessionKey
Type: System..::..String
Custom key that can be used to distinguish sessions with the same values of the SenderCompID, TargetCompID and the FIX Protocol version.

See Also