''OleDbInfoMessageEventArgs'' '''

OleDbInfoMessageEventArgs

System.Data.OleDb (system.data.dll) sealed class

This class provides data to the event handler for the OleDbConnection.InfoMessage event. It also provides a collection of messages in the OleDbErrorCollection object as OleDbError instances. The Message property wraps the OleDbError.Message property, and the Source property wraps the OleDbError.Source property.

public sealed class OleDbInfoMessageEventArgs : EventArgs {
// Public Instance Properties
   public int ErrorCode{get; } 
   public OleDbErrorCollection Errors{get; } 
   public string Message{get; } 
   public string Source{get; } 
// Public Instance Methods
   public override string ToString(  );             // overrides object
}

Hierarchy

System.Object figs/U2192.gif System.EventArgs figs/U2192.gif OleDbInfoMessageEventArgs

Passed To

OleDbInfoMessageEventHandler.{BeginInvoke( ) , Invoke( )}



    Part I: ADO.NET Tutorial
    Part II: ADO.NET Core Classes
    Part III: API Quick Reference
    Chapter 34. The System.Data Namespace