Creates a new instance of WebSocketException.

Namespace:  Rebex.Net
Assembly:  Rebex.WebSocket (in Rebex.WebSocket.dll)

Syntax

Visual Basic
Public Sub New ( _
	error As WebSocketError, _
	innerException As Exception _
)
C#
public WebSocketException(
	WebSocketError error,
	Exception innerException
)

Parameters

error
Type: Rebex.Net..::..WebSocketError
WebSocket error code.
innerException
Type: System..::..Exception
Inner exception.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also