Skip to content

Latest commit

 

History

History
93 lines (80 loc) · 3.2 KB

File metadata and controls

93 lines (80 loc) · 3.2 KB
title IErrorRecordsImpl 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
ATL::IErrorRecordsImpl
ATL.IErrorRecordsImpl
IErrorRecordsImpl
dev_langs
C++
helpviewer_keywords
IErrorRecordsImpl class
ms.assetid dea8e938-c5d8-45ab-86de-eb8fbf534ffb
caps.latest.revision 9
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

IErrorRecordsImpl Class

Implements the OLE DB IErrorRecords interface, adding records to and retrieving records from a data member (m_rgErrors) of type CAtlArray<RecordClass>.

Syntax

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

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.

Data Members

m_rgErrors An array of error records.

Requirements

Header: atldb.h

See Also

OLE DB Provider Templates
OLE DB Provider Template Architecture