Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Implements the OLE DB IErrorRecords interface, adding records to and retrieving records from a data member (m_rgErrors) of type CAtlArray<RecordClass>.
template <
class T,
class RecordClass = ATLERRORINFO
>
class IErrorRecordsImpl : public IErrorRecords
Parameters
T
A class derived from IErrorRecordsImpl.RecordClass
A class that represents an OLE DB error object.
Members
Methods
Gets the error description string from an error record. |
|
Gets the error GUID from an error record. |
|
Gets the help context ID from an error record. |
|
Gets the full pathname of the help file from an error record. |
|
Gets the error source code from an error record. |
Interface Methods
Adds a record to the OLE DB error object. |
|
Returns basic information about the error, such as the return code and provider-specific error number. |
|
Returns a pointer to an interface on a custom error object. |
|
Returns an IErrorInfo interface pointer on the specified record. |
|
Returns the error parameters. |
|
Returns the number of records in the OLE DB record object. |
Data Members
An array of error records. |
Requirements
Header: atldb.h