Share via


SocketException Constructor

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Initializes a new instance of the SocketException class.

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

Syntax

'Declaration
Public Sub New ( _
    errorCode As SocketError _
)
public SocketException(
    SocketError errorCode
)
public:
SocketException(
    SocketError errorCode
)
new : 
        errorCode:SocketError -> SocketException
public function SocketException(
    errorCode : SocketError
)

Parameters

.NET Framework Security

See Also

Reference

SocketException Class

System.Net.Sockets Namespace