| title | _com_error::Source | Microsoft Docs | |
|---|---|---|
| ms.custom | ||
| ms.date | 11/04/2016 | |
| ms.reviewer | ||
| ms.suite | ||
| ms.technology |
|
|
| ms.tgt_pltfrm | ||
| ms.topic | language-reference | |
| f1_keywords |
|
|
| dev_langs |
|
|
| helpviewer_keywords |
|
|
| ms.assetid | 55353741-fabc-4b0c-9787-b5a69bb189f2 | |
| caps.latest.revision | 6 | |
| author | mikeblome | |
| ms.author | mblome | |
| manager | ghogen |
Microsoft Specific
Calls IErrorInfo::GetSource function.
_bstr_t Source() const;
Returns the result of IErrorInfo::GetSource for the IErrorInfo object recorded within the _com_error object. The resulting BSTR is encapsulated in a _bstr_t object. If no IErrorInfo is recorded, it returns an empty _bstr_t.
Any failure while calling the IErrorInfo::GetSource method is ignored.
END Microsoft Specific