Export (0) Print
Expand All

IVsUIShell.GetErrorInfo Method

Gets the text of error messages.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in microsoft.visualstudio.shell.interop.dll)

int GetErrorInfo (
	out string pbstrErrText
)
int GetErrorInfo (
	/** @attribute OutAttribute() */ /** @ref */ String pbstrErrText
)
JScript does not support passing value-type arguments by reference.

Parameters

pbstrErrText

[out] Pointer to a string containing the error text.

Return Value

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

COM Signature

From vsshell.idl:

HRESULT IVsUIShell::GetErrorInfo(
   [out]BSTR *pbstrErrText
);

This method is equivalent to calling the Windows API GetErrorInfo.

Community Additions

ADD
Show:
© 2014 Microsoft