The HostEndpoint type exposes the following members.

Constructors

  NameDescription
Public methodHostEndpoint()()()()
Initializes a new instance of the HostEndpoint class with default settings.
Public methodHostEndpoint(String)
Initializes a new instance of the HostEndpoint class with the specified host.
Public methodHostEndpoint(String, Int32)
Initializes a new instance of the HostEndpoint class with the specified host and port.
Public methodHostEndpoint(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

  NameDescription
Public methodClone
Returns an exact copy of this HostEndpoint object.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Overrides Object..::..Equals(Object).)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Overrides Object..::..GetHashCode()()()().)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Overrides Object..::..ToString()()()().)

Fields

  NameDescription
Public fieldStatic memberDefaultHost
Represents the default Host. This field is read-only.
Public fieldStatic memberDefaultPort
Represents the default Port. This field is read-only.

Properties

  NameDescription
Public propertyHost
Gets or sets the Host.
Public propertyHostDisplayString
Gets the host display string.
Public propertyPort
Gets or sets the Port.

See Also