Skip to content

Latest commit

 

History

History
70 lines (62 loc) · 2.69 KB

File metadata and controls

70 lines (62 loc) · 2.69 KB
title CDBErrorInfo Class | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-windows
ms.tgt_pltfrm
ms.topic article
f1_keywords
CDBErrorInfo
ATL::CDBErrorInfo
ATL.CDBErrorInfo
dev_langs
C++
helpviewer_keywords
CDBErrorInfo class
ms.assetid 9a5c18a2-ee3e-40f5-ab4c-581288d7f737
caps.latest.revision 12
author mikeblome
ms.author mblome
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

CDBErrorInfo Class

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

Syntax

class CDBErrorInfo  

Members

Methods

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.

Remarks

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.

Requirements

Header: atldbcli.h

See Also

DBViewer
OLE DB Consumer Templates
OLE DB Consumer Templates Reference