Modified a few for 'WebSocket.OnError Event'

This commit is contained in:
sta 2014-11-27 14:36:42 +09:00
parent 86d1da1f1c
commit b4e08fe43d

View File

@ -170,9 +170,9 @@ ws.OnError += (sender, e) => {
`e` has passed as a `WebSocketSharp.ErrorEventArgs`.
`e.Message` property returns a `string` that represents the error message. So you should use it to get the error message.
`e.Message` property returns a `string` that represents the error message.
And if the error is due to an exception, you can get a `System.Exception` instance that caused the error, by using `e.Exception` property.
If the error is due to an exception, you can get a `System.Exception` instance that caused the error, by using `e.Exception` property.
##### WebSocket.OnClose Event #####