Lightstreamer Unity Client 2.1.3
|
Notification of an error which prevents the correct handling of a Message sent through LSClient.SendMessage from being accomplished.
void OnError(int code, string error, MessageInfo originalMessage, int prog);
void OnError(int code, string error, MessageInfo originalMessage, int prog);
Function OnError(code As Integer, error As string, originalMessage As MessageInfo, prog As Integer) As void
Parameters |
Description |
int code |
the error code returned by the Server. See the asynchronous Send Message outcome messages on the text protocol documentation for a reference on the error codes that can be issued in response to a Send Message request. Note that code 39 is not used in this case. |
string error |
the error message describing the error, as received from the Server. |
MessageInfo originalMessage |
the original message sent to the server as it was supplied to the LSClient.SendMessage method. |
int prog |
the progressive number associated to the message as it was returned by the LSClient.SendMessage method. |