Initializes a new instance of the HostEndpoint class with the specified host.

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

Syntax

C#
public HostEndpoint(
	string host
)
Visual Basic
Public Sub New ( _
	host As String _
)

Parameters

host
Type: System..::..String
The host to connect to.

Remarks

The host will attempt to be parsed for the [host]:[port] format. The port will default to DefaultPort if not set.

Examples

The IceLib SDK includes example application references to the HostEndpoint constructor. Some examples are listed below.
ProjectLocation
TutorialExampleLoginHostViewModel.cs, line 30, in LoginHostViewModel.CreateHostSettings

Exceptions

ExceptionCondition
System..::..ArgumentExceptionThe host parameter string is empty.
System..::..ArgumentNullExceptionThe host parameter string is nullNothingnullptra null reference (Nothing in Visual Basic).

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