다음을 통해 공유


CDBErrorInfo 클래스

Provides support for OLE DB error processing using the OLE DB IErrorRecords interface.

class CDBErrorInfo

멤버

메서드

GetAllErrorInfo

Returns all error information contained in an error record.

GetBasicErrorInfo

Calls IErrorRecords::GetBasicErrorInfo to return basic information about the specified error.

GetCustomErrorObject

Calls IErrorRecords::GetCustomErrorObject to return a pointer to an interface on a custom error object.

GetErrorInfo

Calls IErrorRecords::GetErrorInfo to return an IErrorInfo interface pointer to the specified record.

GetErrorParameters

Calls IErrorRecords::GetErrorParameters to return the error parameters.

GetErrorRecords

Gets error records for the specified object.

설명

This interface returns one or more error records to the user. Call CDBErrorInfo::GetErrorRecords first, to get a count of error records. Then call one of the access functions, such as CDBErrorInfo::GetAllErrorInfo, to retrieve error information for each record.

요구 사항

Header: atldbcli.h

참고 항목

개념

DBViewer

OLE DB 소비자 템플릿(C++)

OLE DB 소비자 템플릿 참조