System::Net::DnsEndPoint class
Contents
[
Hide
]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
Method | Description |
---|---|
DnsEndPoint(String, int32_t) | Constructs a new instance. |
DnsEndPoint(String, int32_t, System::Net::Sockets::AddressFamily) | Constructs a new instance. |
Equals(System::SharedPtr<Object>) override | Compares objects using C# Object.Equals semantics. |
get_AddressFamily() override | RTTI information. |
get_Host() | RTTI information. |
get_Port() | Returns the port number. |
GetHashCode() const override | Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. |
ToString() const override | Analog of C# Object.ToString() method. Enables converting custom objects to string. |
See Also
- Class EndPoint
- Namespace System::Net
- Library Aspose.Page for C++