Assembly: System.Data.OracleClient (in system.data.oracleclient.dll)
/** @event */ public void add_InfoMessage (OracleInfoMessageEventHandler value) /** @event */ public void remove_InfoMessage (OracleInfoMessageEventHandler value)
In JScript, you can handle the events defined by a class, but you cannot define your own.
Because the .NET Framework Data Provider for Oracle uses the Oracle Call Interface (OCI), whenever the data provider receives a Success With Info message, an InfoMessage event is generated. An example would be creating a stored procedure that contains a syntax error. The call to the ExecuteNonQuery method would succeed. However an InfoMessage event would be generated informing you of the syntax error.
Clients who want to process warnings or informational messages sent by the server should create an OracleInfoMessageEventHandler delegate to listen to this event.
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter EditionThe Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.