Partager via


IDispError::GetDescription

Returns a textual description of the error.

Syntax

HRESULT GetDescription(  
   BSTR*  pbstrDescription  
);  

Parameters

pbstrDescription
[out] String containing a brief description of the error.

Return Value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Value Description
S_OK The method succeeded.

Remarks

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

Note

This method is not implemented.

See also

IDispError Interface
IDispatchEx::InvokeEx