WebSocketException Constructor (WebSocketError, Int32, String^, Exception^)
.NET Framework (current version)
Creates an instance of the WebSocketException class.
Assembly: System (in System.dll)
public: WebSocketException( WebSocketError error, int nativeError, String^ message, Exception^ innerException )
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.
- innerException
-
Type:
System::Exception^
Indicates the previous exception that led to the current exception.
.NET Framework
Available since 4.5
Available since 4.5
Show: