IngresInfoMessageEventArgs Class
The IngresInfoMessageEventArgs class provides the information on warnings from the database to the delegate method that handles the InfoMessage event.
IngresInfoMessageEventArgs Class Declaration
The IngresInfoMessageEventArgs class is declared as follows:
C#: public sealed class IngresInfoMessageEventArgs : EventArgs
VB.NET: NotInheritable Public Class IngresInfoMessageEventArgs
Inherits EventArgs
IngresInfoMessageEventArgs Class Example
The following is an implementation of the IngresInfoMessageEventArgs class:
static void OnInfoMessage(
Object sender, IngresInfoMessageEventArgs e)
{
Console.WriteLine("OnInfoMessage event args: ("+
"ErrorCode=" + e.Number +
", Errors=" + e.Errors +
", Message=\"" + e.Message + "\"" +
", Source=" + e.Source +")");
}
IngresInfoMessageEventArgs Class Properties
The following are the properties of the IngresInfoMessageEventArgs class: