This documentation is archived and is not being maintained.

SocketException Constructor

Initializes a new instance of the SocketException class.

Name Description
SocketException () Initializes a new instance of the SocketException class with the last operating system error code.

Supported by the .NET Compact Framework.

SocketException (Int32) Initializes a new instance of the SocketException class with the specified error code.

Supported by the .NET Compact Framework.

SocketException (SerializationInfo, StreamingContext) Initializes a new instance of the SocketException class from the specified instances of the SerializationInfo and StreamingContext classes.
Show: