Export (0) Print
Expand All

WebSocketException Constructor (Int32, Exception)

.NET Framework 4.6 and 4.5

Creates an instance of the WebSocketException class.

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

public WebSocketException(
	int nativeError,
	Exception innerException
)

Parameters

nativeError
Type: System.Int32

The native error code for the exception.

innerException
Type: System.Exception

Indicates the previous exception that led to the current exception.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft