Share via


SessionLimitExceededException Constructors

Definition

Overloads

SessionLimitExceededException(Int32)

Initializes a new instance of the SessionLimitExceededException class.

SessionLimitExceededException(Int32, String)

Initializes a new instance of the SessionLimitExceededException class.

SessionLimitExceededException(Int32, String, Exception)

Initializes a new instance of the SessionLimitExceededException class.

SessionLimitExceededException(Int32)

Initializes a new instance of the SessionLimitExceededException class.

public:
 SessionLimitExceededException(int sessionLimit);
public SessionLimitExceededException (int sessionLimit);
new Microsoft.Uii.Desktop.Core.SessionLimitExceededException : int -> Microsoft.Uii.Desktop.Core.SessionLimitExceededException
Public Sub New (sessionLimit As Integer)

Parameters

sessionLimit
Int32

Specifies the maximum number of sessions allowed

Applies to

SessionLimitExceededException(Int32, String)

Initializes a new instance of the SessionLimitExceededException class.

public:
 SessionLimitExceededException(int sessionLimit, System::String ^ message);
public SessionLimitExceededException (int sessionLimit, string message);
new Microsoft.Uii.Desktop.Core.SessionLimitExceededException : int * string -> Microsoft.Uii.Desktop.Core.SessionLimitExceededException
Public Sub New (sessionLimit As Integer, message As String)

Parameters

sessionLimit
Int32

Specifies the maximum number of sessions allowed

message
String

Specifies the message

Applies to

SessionLimitExceededException(Int32, String, Exception)

Initializes a new instance of the SessionLimitExceededException class.

public:
 SessionLimitExceededException(int sessionLimit, System::String ^ message, Exception ^ innerException);
public SessionLimitExceededException (int sessionLimit, string message, Exception innerException);
new Microsoft.Uii.Desktop.Core.SessionLimitExceededException : int * string * Exception -> Microsoft.Uii.Desktop.Core.SessionLimitExceededException
Public Sub New (sessionLimit As Integer, message As String, innerException As Exception)

Parameters

sessionLimit
Int32

Specifies the maximum number of sessions allowed

message
String

Specifies the message

innerException
Exception

Specifies the inner exception.

Applies to