OracleConnection.InfoMessage Event
Assembly: System.Data.OracleClient (in system.data.oracleclient.dll)
'Declaration Public Event InfoMessage As OracleInfoMessageEventHandler 'Usage Dim instance As OracleConnection Dim handler As OracleInfoMessageEventHandler AddHandler instance.InfoMessage, handler
/** @event */ public void add_InfoMessage (OracleInfoMessageEventHandler value) /** @event */ public void remove_InfoMessage (OracleInfoMessageEventHandler value)
JScript supports the use of events, but not the declaration of new ones.
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 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.