IErrorInfo.GetDescription(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a string describing the error.
public:
int GetDescription([Runtime::InteropServices::Out] System::String ^ % pbstrDescription);
int GetDescription([Runtime::InteropServices::Out] std::wstring const & & pbstrDescription);
public int GetDescription (out string pbstrDescription);
abstract member GetDescription : string -> int
Public Function GetDescription (ByRef pbstrDescription As String) As Integer
Parameters
- pbstrDescription
- String
[out] Pointer to string describing the error.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.