Export (0) Print
Expand All

EndPoint.Create Method

Creates an EndPoint instance from a SocketAddress instance.

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

Parameters

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

Return Value

A new EndPoint instance initialized from the specified SocketAddress instance.

Exceptions

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

Requirements

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

Show:
© 2014 Microsoft