SocketException Constructor (Int32)
[ 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 specified error code.
Assembly: System.Net (in System.Net.dll)
Parameters
- errorCode
- Type: System.Int32
The error code that indicates the error that occurred.
The SocketException constructor initializes SocketException class with value specified in the errorCode.
Show: