Lightstreamer .Net Adapter 1.7
ContentsIndexHome
PreviousUpNext
ConflictingSessionException.ConflictingSessionException Constructor

Constructs a ConflictingSessionException with supplied error code and message text that will be forwarded to the Client in case the Server can't solve the issue by closing the conflicting session. An internal error message text can also be specified.

C++
public: ConflictingSessionException(int clientErrorCode, string msg, string userMsg, string conflictingSessionID);
C#
public ConflictingSessionException(int clientErrorCode, string msg, string userMsg, string conflictingSessionID);
Visual Basic
Public Sub New(clientErrorCode As Integer, msg As string, userMsg As string, conflictingSessionID 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. 
string conflictingSessionID 
ID of a Session that can be closed in order to eliminate the reported problem. It must not be null.