Identifies a network address. This is an abstract
class.
More...
|
| EndPoint () |
| Initializes a new instance of the T:System.Net.EndPoint class. More...
|
|
Identifies a network address. This is an abstract
class.
Definition at line 8 of file EndPoint.cs.
◆ EndPoint()
System.Net.EndPoint.EndPoint |
( |
| ) |
|
|
protected |
Initializes a new instance of the T:System.Net.EndPoint class.
Definition at line 44 of file EndPoint.cs.
◆ Create()
Creates an T:System.Net.EndPoint instance from a T:System.Net.SocketAddress instance.
- Parameters
-
socketAddress | The socket address that serves as the endpoint for a connection. |
- Returns
- A new T:System.Net.EndPoint instance that is initialized from the specified T:System.Net.SocketAddress instance.
- Exceptions
-
T:System.NotImplementedException | Any attempt is made to access the method when the method is not overridden in a descendant class. |
Reimplemented in System.Net.IPEndPoint.
Definition at line 37 of file EndPoint.cs.
◆ Serialize()
Serializes endpoint information into a T:System.Net.SocketAddress instance.
- Returns
- A T:System.Net.SocketAddress instance that contains the endpoint information.
- Exceptions
-
T:System.NotImplementedException | Any attempt is made to access the method when the method is not overridden in a descendant class. |
Reimplemented in System.Net.IPEndPoint.
Definition at line 27 of file EndPoint.cs.
◆ AddressFamily
Gets the address family to which the endpoint belongs.
- Returns
- One of the T:System.Net.Sockets.AddressFamily values.
- Exceptions
-
T:System.NotImplementedException | Any attempt is made to get or set the property when the property is not overridden in a descendant class. |
Definition at line 15 of file EndPoint.cs.
The documentation for this class was generated from the following file: