The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
IPEndPoint::Create Method (SocketAddress^)
.NET Framework (current version)
Creates an endpoint from a socket address.
Assembly: System (in System.dll)
Parameters
- socketAddress
-
Type:
System.Net::SocketAddress^
The SocketAddress to use for the endpoint.
| Exception | Condition |
|---|---|
| ArgumentException | The AddressFamily of socketAddress is not equal to the AddressFamily of the current instance. -or- socketAddress.Size < 8. |
The following example uses the specified SocketAddress to create an IPEndPoint.
Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.1
Available since 10
.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.1
Show: