This documentation is archived and is not being maintained.

EndPoint.Serialize Method

Serializes endpoint information into a SocketAddress instance.

[Visual Basic]
Public Overridable Function Serialize() As SocketAddress
public virtual SocketAddress Serialize();
public: virtual SocketAddress* Serialize();
public function Serialize() : SocketAddress;

Return Value

A SocketAddress instance containing the endpoint information.


Exception Type Condition
NotImplementedException Any attempt is made to access the method when the method is not overridden in a descendant class.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

EndPoint Class | EndPoint Members | System.Net Namespace