EndPoint.Serialize Method  
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Serializes endpoint information into a SocketAddress instance.
public:
 virtual System::Net::SocketAddress ^ Serialize();
	public virtual System.Net.SocketAddress Serialize();
	abstract member Serialize : unit -> System.Net.SocketAddress
override this.Serialize : unit -> System.Net.SocketAddress
	Public Overridable Function Serialize () As SocketAddress
	Returns
A SocketAddress instance that contains the endpoint information.
Exceptions
Any attempt is made to access the method when the method is not overridden in a descendant class.