9. Understanding .NET Data Provider Connectivity : .NET Data Provider Classes : IngresInfoMessageEventArgs Class : IngresInfoMessageEventArgs Class Example
 
Share this page                  
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 +")");
}