Click or drag to resize

ErrorEventArgs Class

Represents the event data for the OnError event.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    Sfs2X.WebSocketSharpErrorEventArgs

Namespace:  Sfs2X.WebSocketSharp
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public class ErrorEventArgs : EventArgs

The ErrorEventArgs type exposes the following members.

Properties
  NameDescription
Public propertyException
Gets the exception that caused the error.
Public propertyMessage
Gets the error message.
Top
Remarks

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.

See Also