Error Records

OLE DB Programmer's Reference

OLE DB error objects store error information in error records. Each error record is composed of the following parts: an ERRORINFO structure, error parameters, a pointer to a custom error object, a dynamic error ID, and a lookup ID. Each of these parts is described more fully in this section.

Records in OLE DB error objects are numbered starting from zero. By using the methods in IErrorRecords, consumers can specify the record from which to retrieve error information. As error records are added, they are added to the top of the list. (That is, the number of the existing error records is increased by 1 and a new record 0 is added.) Thus, consumers can start with the highest level of error information and then retrieve increasingly more detailed information.

1998-2001 Microsoft Corporation. All rights reserved.



Microsoft Ole Db 2.0 Programmer's Reference and Data Access SDK
Microsoft OLE DB 2.0 Programmers Reference and Data Access SDK (Microsoft Professional Editions)
ISBN: 0735605904
EAN: 2147483647
Year: 1998
Pages: 1083

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net