Table of Contents

Class EndPoint

Namespace
System.Net
Assembly
System.Net.dll

Identifies a network address. This is an abstract class.

public abstract class EndPoint
Inheritance
EndPoint
Derived
Inherited Members
Extension Methods

Remarks

The EndPoint class provides an abstract base class that represents a network resource or service. Descendant classes combine network connection information to form a connection point to a service.

Constructors

EndPoint()

protected EndPoint()

Methods

Create(SocketAddress)

Creates an EndPoint instance from a SocketAddress instance.

public abstract EndPoint Create(SocketAddress socketAddress)

Parameters

socketAddress SocketAddress

The socket address that serves as the endpoint for a connection.

Returns

EndPoint

A new EndPoint instance that is initialized from the specified SocketAddress instance.

Serialize()

Serializes endpoint information into a SocketAddress instance.

public abstract SocketAddress Serialize()

Returns

SocketAddress

A SocketAddress instance that contains the endpoint information.