Windows apps
Collapse the table of content
Expand the table of content
Information
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

 

Initializes a new instance of the SocketException class.

Namespace:   System.Net.Sockets
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodSocketException()

Initializes a new instance of the SocketException class with the last operating system error code.

System_CAPS_pubmethodSocketException(Int32)

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

System_CAPS_protmethodSocketException(SerializationInfo^, StreamingContext)

Initializes a new instance of the SocketException class from the specified instances of the SerializationInfo and StreamingContext classes.

Return to top
Show:
© 2017 Microsoft