Lightstreamer .Net Client 2.1.2
|
Sends a message to Lightstreamer Server. The message is associated to the current session and is interpreted and managed by the Metadata Adapter related to the session.
The method is blocking; it returns only after receiving the Server answer upon the request submission. See OpenConnection for details on timeout settings.
Messages sent through this method are never batched, use the overload of this method accepting MessageInfo instances to send a batch of messages
public: void SendMessage(string message);
public virtual void SendMessage(string message);
Public virtual Function SendMessage(message As string) As void
Parameters |
Description |
string message |
Any text string, to be interpreted by the Metadata Adapter. It should not be null. |
Exceptions |
Description |
in case of connection problems. | |
in case of errors in the supplied parameters or in Server answer. | |
in case the Server has refused the connection request because of the constraints imposed either by the Metadata Adapter or by Server configuration. |