_com_error::Source
Microsoft Specific
Calls IErrorInfo::GetSource
function.
Syntax
_bstr_t Source() const;
Return value
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
.
Remarks
Any failure while calling the IErrorInfo::GetSource
method is ignored.
END Microsoft Specific
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for