Lightstreamer .Net Adapter 1.7
|
Constructs a CreditsException with supplied error code and message text to be forwarded to the Client. An internal error message text can also be specified.
public: CreditsException(int clientErrorCode, string msg, string userMsg);
public CreditsException(int clientErrorCode, string msg, string userMsg);
Public Sub New(clientErrorCode As Integer, msg As string, userMsg As string)
Parameters |
Description |
int clientErrorCode |
Error code that can be used to distinguish the kind of problem. It must be a negative integer, or zero to mean an unspecified problem. |
string msg |
The detail message. |
string userMsg |
A detail message to be forwarded to the Client. It can be null. The message should be in simple ASCII, otherwise it might be altered in order to be sent to the client; multiline text is also not allowed. |