Error in user YAML: (<unknown>): did not find expected ',' or ']' while parsing a flow sequence at line 11 column 22
---
title: "_com_error::ErrorInfo | Microsoft Docs"
ms.custom: ""
ms.date: "11/04/2016"
ms.reviewer: ""
ms.suite: ""
ms.technology: ["cpp-language"]
ms.tgt_pltfrm: ""
ms.topic: "language-reference"
f1_keywords: []
dev_langs: ["C++"]
helpviewer_keywords: ["[""ErrorInfo method [C++]""]"]
ms.assetid: 071b446c-4395-4fb8-bd3d-300a8b25f5cd
caps.latest.revision: 6
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"]
---Microsoft Specific
Retrieves the IErrorInfo object passed to the constructor.
IErrorInfo * ErrorInfo( ) const throw( );
Raw IErrorInfo item passed into the constructor.
Retrieves the encapsulated IErrorInfo item in a _com_error object, or NULL if no IErrorInfo item is recorded. The caller must call Release on the returned object when finished using it.
END Microsoft Specific