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.
SocketException Constructor
.NET Framework (current version)
Initializes a new instance of the SocketException class.
Assembly: System (in System.dll)
| Name | Description | |
|---|---|---|
![]() | SocketException() | Initializes a new instance of the SocketException class with the last operating system error code. |
![]() | SocketException(Int32) | Initializes a new instance of the SocketException class with the specified error code. |
![]() | SocketException(SerializationInfo^, StreamingContext) | Initializes a new instance of the SocketException class from the specified instances of the SerializationInfo and StreamingContext classes. |
Show:

