Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IErrorInfo::GetDescription method

  Returns a textual description of the error.

Syntax


HRESULT GetDescription(
  [out] BSTR *pBstrDescription
);

Parameters

pBstrDescription [out]

A brief description of the error.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

The text is returned in the language specified by the locale identifier (LCID) that was passed to IDispatch::Invoke for the method that encountered the error.

Requirements

IDL

OaIdl.idl

See also

IErrorInfo

 

 

Show:
© 2017 Microsoft