'Declaration Public Event Error As MySqlErrorEventHandler
public event MySqlErrorEventHandler Error
Event Data
The event handler receives an argument of type MySqlErrorEventArgs containing data related to this event. The following MySqlErrorEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Code | Gets the error code. |
Message | Gets the error message. |
SqlState | Gets the five-character SQLSTATE value that describes the error. |
Remarks
Clients that want to process errors sent by the server should create a MySqlErrorEventHandler delegate to listen to this event.
See Also