Error in user YAML: (<unknown>): did not find expected ',' or ']' while parsing a flow sequence at line 11 column 22
---
title: "_com_error::HelpContext | 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: ["[""HelpContext method [C++]""]"]
ms.assetid: 160d6443-9b68-4cf5-a540-50da951a5b2b
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
Calls IErrorInfo::GetHelpContext function.
DWORD HelpContext( ) const throw( );
Returns the result of IErrorInfo::GetHelpContext for the IErrorInfo object recorded within the _com_error object. If no IErrorInfo object is recorded, it returns a zero.
Any failure while calling the IErrorInfo::GetHelpContext method is ignored.
END Microsoft Specific