ErrorEventArgs Class |
Namespace: Sfs2X.WebSocketSharp
public class ErrorEventArgs : EventArgs
The ErrorEventArgs type exposes the following members.
Name | Description | |
---|---|---|
Exception |
Gets the exception that caused the error.
| |
Message |
Gets the error message.
|
That event occurs when the WebSocket gets an error.
If you would like to get the error message, you should access the Message property.
And if the error is due to an exception, you can get it by accessing the Exception property.