다음을 통해 공유


IErrorRecordsImpl 클래스

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

매개 변수

  • T
    A class derived from IErrorRecordsImpl.

  • RecordClass
    A class that represents an OLE DB error object.

멤버

메서드

GetErrorDescriptionString

Gets the error description string from an error record.

GetErrorGUID

Gets the error GUID from an error record.

GetErrorHelpContext

Gets the help context ID from an error record.

GetErrorHelpFile

Gets the full pathname of the help file from an error record.

GetErrorSource

Gets the error source code from an error record.

Interface Methods

AddErrorRecord

Adds a record to the OLE DB error object.

GetBasicErrorInfo

Returns basic information about the error, such as the return code and provider-specific error number.

GetCustomErrorObject

Returns a pointer to an interface on a custom error object.

GetErrorInfo

Returns an IErrorInfo interface pointer on the specified record.

GetErrorParameters

Returns the error parameters.

GetRecordCount

Returns the number of records in the OLE DB record object.

데이터 멤버

m_rgErrors

An array of error records.

요구 사항

Header: atldb.h

참고 항목

개념

OLE DB 공급자 템플릿(C++)

OLE DB 공급자 템플릿 구조