mscorlib(4.0.0.0) API with additions
System.Net.EndPoint Class Reference

Identifies a network address. This is an abstract class. More...

Inheritance diagram for System.Net.EndPoint:
[legend]

Public Member Functions

virtual SocketAddress Serialize ()
 Serializes endpoint information into a T:System.Net.SocketAddress instance. More...
 
virtual EndPoint Create (SocketAddress socketAddress)
 Creates an T:System.Net.EndPoint instance from a T:System.Net.SocketAddress instance. More...
 

Protected Member Functions

 EndPoint ()
 Initializes a new instance of the T:System.Net.EndPoint class. More...
 

Properties

virtual AddressFamily AddressFamily [get]
 Gets the address family to which the endpoint belongs. More...
 

Detailed Description

Identifies a network address. This is an abstract class.

Definition at line 8 of file EndPoint.cs.

Constructor & Destructor Documentation

◆ 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.

Member Function Documentation

◆ Create()

virtual EndPoint System.Net.EndPoint.Create ( SocketAddress  socketAddress)
virtual

Creates an T:System.Net.EndPoint instance from a T:System.Net.SocketAddress instance.

Parameters
socketAddressThe 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.NotImplementedExceptionAny 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()

virtual SocketAddress System.Net.EndPoint.Serialize ( )
virtual

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.NotImplementedExceptionAny 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.

Property Documentation

◆ AddressFamily

virtual AddressFamily System.Net.EndPoint.AddressFamily
get

Gets the address family to which the endpoint belongs.

Returns
One of the T:System.Net.Sockets.AddressFamily values.
Exceptions
T:System.NotImplementedExceptionAny 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: