Initializes a new instance of the RemoteStationSettings class with station settings.

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

Syntax

C#
[ObsoleteAttribute("Please use an overload that does not use a persistentConnection parameter.")]
public RemoteStationSettings(
	string workstation,
	SupportedMedia supportedMedia,
	string remoteNumber,
	bool persistentConnection
)
Visual Basic
<ObsoleteAttribute("Please use an overload that does not use a persistentConnection parameter.")> _
Public Sub New ( _
	workstation As String, _
	supportedMedia As SupportedMedia, _
	remoteNumber As String, _
	persistentConnection As Boolean _
)

Parameters

workstation
Type: System..::..String
The workstation.
supportedMedia
Type: ININ.IceLib.Connection..::..SupportedMedia
The media types supported by this station.
remoteNumber
Type: System..::..String
An optional remote number. (Can be nullNothingnullptra null reference (Nothing in Visual Basic).)
persistentConnection
Type: System..::..Boolean
Specifies whether the remote connection is persistent.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionA parameter is nullNothingnullptra null reference (Nothing in Visual Basic).
System..::..ArgumentOutOfRangeExceptionThe specified supported media is not from the SupportedMedia 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