System::Net::DnsEndPoint class

DnsEndPoint class

Contains information used by the application to connect to the service. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

class DnsEndPoint : public System::Net::EndPoint

Methods

MethodDescription
DnsEndPoint(String, int32_t)Constructs a new instance.
DnsEndPoint(String, int32_t, System::Net::Sockets::AddressFamily)Constructs a new instance.
Equals(System::SharedPtr<Object>) overrideCompares objects using C# Object.Equals semantics.
get_AddressFamily() overrideRTTI information.
get_Host()RTTI information.
get_Port()Returns the port number.
GetHashCode() const overrideAnalog of C# Object.GetHashCode() method. Enables hashing of custom objects.
ToString() const overrideAnalog of C# Object.ToString() method. Enables converting custom objects to string.

See Also