[ Team LiB ] Previous Section Next Section

OleDbErrorCollection serializable

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

Contains a collection of OleDbError instances, which is used by the OleDbException.Errors property to indicate all errors that have occurred while using the OLE DB data provider. This collection always contains at least one OleDbError object.

public sealed class OleDbErrorCollection : ICollection, IEnumerable {
// Public Instance Properties
   public int Count{get; }                       // implements ICollection
   public OleDbError this[int index]{get; } 
// Public Instance Methods
   public void CopyTo( Array array, int index);           // implements ICollection
   public IEnumerator GetEnumerator(  );               // implements IEnumerable
}

Returned By

OleDbException.Errors , OleDbInfoMessageEventArgs.Errors

    [ Team LiB ] Previous Section Next Section