Initializes a new instance of the ConnectionStateChangedEventArgs class with the specified message.

Namespace: ININ.IceLib.Connection
Assembly: ININ.IceLib (in ININ.IceLib.dll) Version: 0.0.0.0 (22.3.0.218)

Syntax

C#
public ConnectionStateChangedEventArgs(
	ConnectionState state,
	ConnectionStateReason reason,
	string message
)
Visual Basic
Public Sub New ( _
	state As ConnectionState, _
	reason As ConnectionStateReason, _
	message As String _
)

Parameters

state
Type: ININ.IceLib.Connection..::..ConnectionState
The new connection state.
reason
Type: ININ.IceLib.Connection..::..ConnectionStateReason
The new connection state reason.
message
Type: System..::..String
The message associated with the connection state change.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionA parameter is nullNothingnullptra null reference (Nothing in Visual Basic).
System..::..ArgumentOutOfRangeExceptionThe specified value is not from the enumeration.

Version Information

Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 GA and beyond.
For 3.0, supported for IC Server version 3.0 GA and beyond.

See Also