EndPoint.Serialize Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Serializes endpoint information into a SocketAddress instance.

Namespace:   System.Net
Assembly:  System (in System.dll)

public virtual SocketAddress Serialize()

Return Value

Type: System.Net.SocketAddress

A SocketAddress instance that contains the endpoint information.

Exception Condition

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

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Available since 2.0
Windows Phone Silverlight
Available since 7.1
Return to top