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.

WebSocketException Constructor (WebSocketError, Exception^)

.NET Framework (current version)
 

Creates an instance of the WebSocketException class.

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

public:
WebSocketException(
	WebSocketError error,
	Exception^ innerException
)

Parameters

error
Type: System.Net.WebSockets::WebSocketError

The error from the WebSocketError enumeration.

innerException
Type: System::Exception^

Indicates the previous exception that led to the current exception.

.NET Framework
Available since 4.5
Return to top
Show:
© 2017 Microsoft