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, _
	message As String _
)
C#
public WebSocketException(
	WebSocketError error,
	string message
)

Parameters

error
Type: Rebex.Net..::..WebSocketError
WebSocket error code.
message
Type: System..::..String
Error message.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also