Lightstreamer .Net Adapter 1.7
ContentsIndexHome
PreviousUpNext
CreditsException.CreditsException Constructor (int, string, string)

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.

C++
public: CreditsException(int clientErrorCode, string msg, string userMsg);
C#
public CreditsException(int clientErrorCode, string msg, string userMsg);
Visual Basic
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.