Create Method
Collapse the table of content
Expand the table of content

EndPoint.Create Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Creates an EndPoint instance from a SocketAddress instance.

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

'Declaration
Public Overridable Function Create ( _
	socketAddress As SocketAddress _
) As EndPoint

Parameters

socketAddress
Type: System.Net.SocketAddress
The socket address that serves as the endpoint for a connection.

Return Value

Type: System.Net.EndPoint
A new EndPoint instance that is initialized from the specified SocketAddress instance.

ExceptionCondition
NotImplementedException

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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft