This documentation is archived and is not being maintained.

EndPoint.Create Method

Creates an EndPoint instance from a SocketAddress instance.

[Visual Basic]
Public Overridable Function Create( _
   ByVal socketAddress As SocketAddress _
) As EndPoint
public virtual EndPoint Create(
 SocketAddress socketAddress
public: virtual EndPoint* Create(
 SocketAddress* socketAddress
public function Create(
   socketAddress : SocketAddress
) : EndPoint;


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

Return Value

A new EndPoint instance initialized from the specified SocketAddress instance.


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, Common Language Infrastructure (CLI) Standard

See Also

EndPoint Class | EndPoint Members | System.Net Namespace