forwardSession Constructor (String, String, Dialect, Boolean, SessionStorageType, String)   Table of ContentSession Constructor (String, String, ProtocolVersion, Boolean, SessionStorageType, String)forward
Session Constructor (String, String, ProtocolVersion, Boolean, ISessionStorage, String)
Creates the FIX Session using a custom Session storage.

Namespace:  FIXForge.NET.FIX
Assembly:  FIXForge.NET.FIX.Engine-net-4.8_x64 (in FIXForge.NET.FIX.Engine-net-4.8_x64.dll) Version: 4.12.0.0
Syntax
C#
public Session(
	string senderCompID,
	string targetCompID,
	ProtocolVersion version,
	bool keepSequenceNumbersBetweenFixConnections,
	ISessionStorage customStorage,
	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).
version
Type: FIXForge.NET.FIX.ProtocolVersion
FIX Version.
keepSequenceNumbersBetweenFixConnections
Type: System.Boolean
Option to keep sequence numbers after the exchange of Logout (MsgType=5) messages.
customStorage
Type: FIXForge.NET.FIX.ISessionStorage
Custom Session storage.
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