WebSocketException Class

Definition

Represents an exception that occurred when performing an operation on a WebSocket connection.

public ref class WebSocketException sealed : System::ComponentModel::Win32Exception
public ref class WebSocketException sealed : Exception
public sealed class WebSocketException : System.ComponentModel.Win32Exception
public sealed class WebSocketException : Exception
[System.Serializable]
public sealed class WebSocketException : System.ComponentModel.Win32Exception
type WebSocketException = class
    inherit Win32Exception
type WebSocketException = class
    inherit Exception
[<System.Serializable>]
type WebSocketException = class
    inherit Win32Exception
Public NotInheritable Class WebSocketException
Inherits Win32Exception
Public NotInheritable Class WebSocketException
Inherits Exception
Inheritance
Inheritance
WebSocketException
Attributes

Constructors

Name Description
WebSocketException()

Creates an instance of the WebSocketException class.

WebSocketException(Int32, Exception)

Creates an instance of the WebSocketException class.

WebSocketException(Int32, String)

Creates an instance of the WebSocketException class.

WebSocketException(Int32)

Creates an instance of the WebSocketException class.

WebSocketException(String, Exception)

Creates an instance of the WebSocketException class.

WebSocketException(String)

Creates an instance of the WebSocketException class.

WebSocketException(WebSocketError, Exception)

Creates an instance of the WebSocketException class.

WebSocketException(WebSocketError, Int32, Exception)

Creates an instance of the WebSocketException class.

WebSocketException(WebSocketError, Int32, String, Exception)

Creates an instance of the WebSocketException class.

WebSocketException(WebSocketError, Int32, String)

Creates an instance of the WebSocketException class.

WebSocketException(WebSocketError, Int32)

Creates an instance of the WebSocketException class.

WebSocketException(WebSocketError, String, Exception)

Creates an instance of the WebSocketException class.

WebSocketException(WebSocketError, String)

Creates an instance of the WebSocketException class.

WebSocketException(WebSocketError)

Creates an instance of the WebSocketException class.

Properties

Name Description
Data

Gets a collection of key/value pairs that provide additional user-defined information about the exception.

(Inherited from Exception)
ErrorCode

The native error code for the exception that occurred.

HelpLink

Gets or sets a link to the help file associated with this exception.

(Inherited from