| Devart.Data.Oracle Namespace > OracleConnection Class : Error Event (OracleConnection) |
Occurs when Oracle returns an error message.
[Visual Basic]
Public Event Error() As OracleConnectionErrorEventHandler[C#]
public event OracleConnectionErrorEventHandler Error();The event handler receives an argument of type OracleConnectionErrorEventArgs containing data related to this event. The following OracleConnectionErrorEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| Code | Gets the Oracle specific error code. |
| Message | Gets the full text of the error sent from the Oracle database. |
Clients that want to process errors raised by the server should create an __Delegates.OracleConnectionErrorEventHandler delegate to listen to this event.
OracleConnection Class | OracleConnection Members
© 2002 - 2013 Devart. All Rights Reserved.