Click or drag to resize

CloseEventArgs Class

Represents the event data for the OnClose event.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    Sfs2X.WebSocketSharpCloseEventArgs

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

The CloseEventArgs type exposes the following members.

Properties
  NameDescription
Public propertyCode
Gets the status code for the close.
Public propertyReason
Gets the reason for the close.
Public propertyWasClean
Gets a value indicating whether the connection has been closed cleanly.
Top
Remarks

That event occurs when the WebSocket connection has been closed.

If you would like to get the reason for the close, you should access the Code or Reason property.

See Also