WebSocketException Constructor (WebSocketError, String^)

.NET Framework (current version)
 

Creates an instance of the WebSocketException class.

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

public:
WebSocketException(
	WebSocketError error,
	String^ message
)

Parameters

error
Type: System.Net.WebSockets::WebSocketError

The error from the WebSocketError enumeration.

message
Type: System::String^

The description of the error.

.NET Framework
Available since 4.5
Return to top
Show: