websocket-sharp WebSocketSharp.MessageEventArgs Contains the event data associated with a event. The event occurs when the WebSocket receives a close control frame or the WebSocket.Close method is called. If you want to get the reason for closure, you should access the or properties. Property System.UInt16 Gets the status code for closure. A that contains a status code for closure. To be added. Property System.String Gets the reason for closure. A that contains a reason for closure. To be added. Property System.Boolean Indicates whether the WebSocket connection closed cleanly. true if the WebSocket connection closed cleanly; otherwise, false. To be added.