Message Constructor (String, ProtocolVersion, Int32) |
Creates a message.
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 public Message(
string type,
ProtocolVersion version,
int expectedMessageSize
)
Parameters
- type
- Type: System.String
Message type (the MsgType (tag=35) field value). - version
- Type: FIXForge.NET.FIX.ProtocolVersion
FIX version - expectedMessageSize
- Type: System.Int32
An expected size of the FIX message. The parameter is used as a hint for the optimization of the manipulation (parsing, setting, etc.)
of large FIX messages with a lot of repeating groups. The large value can increase the memory consumption by the Message object,
so try to increase the value only in case of a latency degradation of the large FIX messages manipulation.
See Also