Share via


IVsUIShell3.ReportErrorInfo2(Int32, Boolean) Method

Definition

Report error information, allowing the caller to suppress the UAC dialog box.

public:
 int ReportErrorInfo2(int hr, bool Suppress);
public:
 int ReportErrorInfo2(int hr, bool Suppress);
int ReportErrorInfo2(int hr, bool Suppress);
public int ReportErrorInfo2 (int hr, bool Suppress);
abstract member ReportErrorInfo2 : int * bool -> int
Public Function ReportErrorInfo2 (hr As Integer, Suppress As Boolean) As Integer

Parameters

hr
Int32

[in] The HRESULT to display.

Suppress
Boolean

[in] True to suppress display of the dialog box.

Returns

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

Remarks

COM Signature

From vsshell90.idl:

HRESULT ReportErrorInfo2(  
    [in] HRESULT hr,   
    [in] VARIANT_BOOL Suppress  
);  

Applies to