Gets or sets the Host.
Namespace: ININ.IceLib.ConnectionAssembly: ININ.IceLib (in ININ.IceLib.dll) Version: 0.0.0.0 (22.3.0.218)
Syntax
C# |
---|
public string Host { get; set; } |
Visual Basic |
---|
Public Property Host As String Get Set |
Field Value
The host.Remarks
This property specifies the host to connect to. The default is
DefaultHost. Setting this property will attempt to parsed
for the [host]:[port] format. If the port is not specified in this format,
it remains unchanged from what it was previously.
Examples
The IceLib SDK includes example application references to the Host property. Some examples are listed below.
Project | Location |
---|---|
TutorialExample | LoginHostViewModel.cs, line 20, in LoginHostViewModel.#ctor |
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentException | The host string is empty. |
System..::..ArgumentNullException | The host 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.
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.