This event is triggered for any message or warning sent by the database.


// C#
public event OracleInfoMessageEventHandler InfoMessage;

Event Data

The event handler receives an OracleInfoMessageEventArgs object which exposes the following properties containing information about the event.

  • Errors

    The collection of errors generated by the data source.

  • Message

    The error text generated by the data source.

  • Source

    The name of the object that generated the error.


In order to respond to warnings and messages from the database, the client should create an OracleInfoMessageEventHandler delegate to listen to this event.