My Project
Loading...
Searching...
No Matches
Properties | List of all members
WebSocketSharp.ErrorEventArgs Class Reference

Represents the event data for the WebSocket.OnError event. More...

Inheritance diagram for WebSocketSharp.ErrorEventArgs:

Properties

Exception Exception [get]
 Gets the exception that caused the error.
 
string Message [get]
 Gets the error message.
 

Detailed Description

Represents the event data for the WebSocket.OnError event.

The error event occurs when the WebSocket interface gets an error.

If you would like to get the error message, you should access the ErrorEventArgs.Message property.

If the error is due to an exception, you can get it by accessing the ErrorEventArgs.Exception property.

Property Documentation

◆ Exception

Exception WebSocketSharp.ErrorEventArgs.Exception
get

Gets the exception that caused the error.

An System.Exception instance that represents the cause of the error.

null if not present.

◆ Message

string WebSocketSharp.ErrorEventArgs.Message
get

Gets the error message.

A string that represents the error message.


The documentation for this class was generated from the following file: