Lightstreamer .Net Client 2.1.2
ContentsIndexHome
PreviousUpNext
MessageInfo.MessageInfo Constructor (string, string)

Create an object to be used to send a message to a Lightstreamer Server. 

The object can be supplied to LSClient.SendMessage in order to be forwarded to the server 

 

C++
public: MessageInfo(string message, string sequence);
C#
public MessageInfo(string message, string sequence);
Visual Basic
Public Sub New(message As string, sequence As string)
Parameters 
Description 
string message 
A text String to be interpreted by the Metadata Adapter. It should not be null. 
string sequence 
The sequence identifier for this message.
Messages pertaining to the same sequence are guaranteed to be processed by the server in order. The position of the message in the sequence is given by the LSClient.SendMessage method.
If sequential management is undesired, the special UNORDERED_MESSAGES sequence identifier can be used.
A sequence can be composed only of alphanumeric characters and underscores.
Note that the Server in case of a hole in the sequence's progressive, before declaring the previous message as lost, will use a timeout based on its own configuration.
 
Exceptions 
Description 
ArgumentException 
in case a null message is specified or the given sequence name is invalid.