WebSocketException Constructor (Int32, String)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Creates an instance of the WebSocketException class.

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

public WebSocketException(
	int nativeError,
	string message
)

Parameters

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: