The HostEndpoint type exposes the following members.
Constructors
Name | Description | |
---|---|---|
HostEndpoint()()()() |
Initializes a new instance of the HostEndpoint class with default
settings.
| |
HostEndpoint(String) |
Initializes a new instance of the HostEndpoint class with the specified
host.
| |
HostEndpoint(String, Int32) |
Initializes a new instance of the HostEndpoint class with the specified
host and port.
| |
HostEndpoint(String, Int32, Boolean) |
Initializes a new instance of the HostEndpoint class with the specified
host and port and adds a reference to itself as the only resolved endpoint.
|
Methods
Name | Description | |
---|---|---|
Clone |
Returns an exact copy of this HostEndpoint object.
| |
Equals | Determines whether the specified Object is equal to the current Object. (Overrides Object..::..Equals(Object).) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Overrides Object..::..GetHashCode()()()().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a String that represents the current Object. (Overrides Object..::..ToString()()()().) |
Fields
Name | Description | |
---|---|---|
DefaultHost |
Represents the default Host. This field is read-only.
| |
DefaultPort |
Represents the default Port. This field is read-only.
|
Properties
Name | Description | |
---|---|---|
Host |
Gets or sets the Host.
| |
HostDisplayString |
Gets the host display string.
| |
Port |
Gets or sets the Port.
|