SocketException Constructor
.NET Framework 4
Initializes a new instance of the SocketException class.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| 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. |