EmptySessionIdException Constructor(Int32,String)
Initializes a new instance of the EmptySessionIdException class with a specified error message and an error code associated with this exception.
C# Syntax
public EmptySessionIdException( 
   int errorCode,
   string message
)

Parameters

errorCode
The error code associated with this exception.
message
The error message that explains the reason for the exception.