WebSocketException Constructor (String, Exception)

.NET Framework (current version)
 

Creates an instance of the WebSocketException class.

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

public WebSocketException(
	string message,
	Exception innerException
)

Parameters

message
Type: System.String

The description of the error.

innerException
Type: System.Exception

Indicates the previous exception that led to the current exception.

.NET Framework
Available since 4.5
Return to top
Show: