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.
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.EndPointA new EndPoint instance that is initialized from the specified SocketAddress instance.
| Exception | Condition |
|---|---|
| NotImplementedException | Any attempt is made to access the method when the method is not overridden in a descendant class. |
Show: