IVsUIShell::GetErrorInfo Method (String^)
Visual Studio 2015
Gets the text of error messages.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- pbstrErrText
-
Type:
System::String^
[out] Pointer to a string containing the error text.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsUIShell::GetErrorInfo( [out]BSTR *pbstrErrText );
This method is equivalent to calling the Windows API GetErrorInfo.
Show: