Edit

Share via


EndPoint.Serialize Method

Definition

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.

Applies to