WebSocketException Constructor (WebSocketError, Int32, String)

.NET Framework (current version)
 

Creates an instance of the WebSocketException class.

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

Public Sub New (
	error As WebSocketError,
	nativeError As Integer,
	message As String
)

Parameters

error
Type: System.Net.WebSockets.WebSocketError

The error from the WebSocketError enumeration.

nativeError
Type: System.Int32

The native error code for the exception.

message
Type: System.String

The description of the error.

.NET Framework
Available since 4.5
Return to top
Show: