SocketException Constructor
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Initializes a new instance of the SocketException class with the last operating system error code.
Assembly: System.Net (in System.Net.dll)
The SocketException constructor sets the ErrorCode property to the last operating system socket error that occurred.
For more information about socket error codes, see the SocketError.
Show: