Connects the session using the specified settings.

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


public void Connect(
	SessionSettings sessionSettings,
	HostSettings hostSettings,
	AuthSettings authSettings,
	StationSettings stationSettings
Visual Basic
Public Sub Connect ( _
	sessionSettings As SessionSettings, _
	hostSettings As HostSettings, _
	authSettings As AuthSettings, _
	stationSettings As StationSettings _


Type: ININ.IceLib.Connection..::..SessionSettings
The SessionSettings for the connection.
Type: ININ.IceLib.Connection..::..HostSettings
The HostSettings for the connection.
Type: ININ.IceLib.Connection..::..AuthSettings
The AuthSettings for the connection.
Type: ININ.IceLib.Connection..::..StationSettings
The StationSettings for the connection.


For security reasons a user can only be logged in to one station at a time. If the user logs in to a different station, the system drops the original station connection. Multiple instances of client applications may be run on the same machine using different user logins and the same station.

If a user who is logged in via Interaction Client .NET Edition tries, for example, to connect using Interaction Connect, they will receive a message at the original station such as: "Your connection has been dropped due to a subsequent login on a different station".


System..::..ArgumentNullExceptionA parameter is nullNothingnullptra null reference (Nothing in Visual Basic).
ININ.IceLib..::..IceLibExceptionThe connection was not established.
ININ.IceLib..::..IceLibLicenseExceptionA required license is not available.
ININ.IceLib.Connection..::..RequestTimeoutExceptionThe request timed out while waiting for a response.
ININ.IceLib.Connection..::..SessionDisconnectedExceptionThe Session does not have a valid connection.
System..::..ObjectDisposedExceptionThe Session has been disposed.

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