The WebSocketException type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
![]() | WebSocketException |
Initializes a new instance of the WebSocketException class.
|
![]() | WebSocketException(Int32) |
Initializes a new instance of the WebSocketException class with a specified status code.
|
![]() | WebSocketException(String) |
Initializes a new instance of the WebSocketException class with a specified error message.
|
![]() | WebSocketException(Int32, String) |
Initializes a new instance of the WebSocketException class with a specified status code
and error message.
|
![]() | WebSocketException(SerializationInfo, StreamingContext) |
Initializes a new instance of the WebSocketException class with serialized data.
|
![]() | WebSocketException(String, Exception) |
Initializes a new instance of the WebSocketException class with a specified error message
and a reference to the inner exception that is the cause of this exception.
|
![]() | WebSocketException(Int32, String, Exception) |
Initializes a new instance of the WebSocketException class with a specified status code,
error message, and a reference to the inner exception that is the cause of this exception.
|
Methods
Name | Description | |
---|---|---|
![]() | ![]() | (Inherited from ![]() |
![]() | ![]() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from ![]() |
![]() | ![]() | When overridden in a derived class, returns the (Inherited from ![]() ![]() |
![]() | ![]() | Serves as a hash function for a particular type. (Inherited from ![]() |
![]() | GetObjectData |
Sets the (Overrides ![]() ![]() |
![]() | ![]() | Gets the runtime type of the current instance. (Inherited from ![]() |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | ![]() | Creates and returns a string representation of the current exception. (Inherited from ![]() |
Properties
Name | Description | |
---|---|---|
![]() | ![]() | Gets a collection of key/value pairs that provide additional user-defined information about the exception. (Inherited from ![]() |
![]() | ![]() | Gets or sets a link to the help file associated with this exception. (Inherited from ![]() |
![]() | ![]() | Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Inherited from ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | ![]() | Gets a message that describes the current exception. (Inherited from ![]() |
![]() | ![]() | Gets or sets the name of the application or the object that causes the error. (Inherited from ![]() |
![]() | ![]() | Gets a string representation of the immediate frames on the call stack. (Inherited from ![]() |
![]() | StatusCode |
Gets the status code.
|
![]() | ![]() | Gets the method that throws the current exception. (Inherited from ![]() |
Events
Name | Description | |
---|---|---|
![]() | ![]() | Occurs when an exception is serialized to create an exception state object that contains serialized data about the exception. (Inherited from ![]() |
See Also