Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1011 Bytes

com-error-description.md

File metadata and controls

33 lines (22 loc) · 1011 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: _com_error::Description
_com_error::Description
11/17/2022
COMDEF/_com_error::Description
_com_error::Description
_com_error Description method [C++]
88191e24-4ee8-44a6-8c4c-3758e22e0548

_com_error::Description

Microsoft Specific

Calls IErrorInfo::GetDescription function.

Syntax

_bstr_t Description() const;

Return value

Returns the result of IErrorInfo::GetDescription 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.

Remarks

Calls the IErrorInfo::GetDescription function and retrieves IErrorInfo recorded within the _com_error object. Any failure while calling the IErrorInfo::GetDescription method is ignored.

END Microsoft Specific

See also

_com_error class