IVsUIShell3.ReportErrorInfo2(Int32, Boolean) Méthode

Définition

Fournit un rapport d'informations sur les erreurs, ce qui permet à l'appelant de supprimer la boîte de dialogue de contrôle de compte d'utilisateur.

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

Paramètres

hr
Int32

[in] HRESULT à afficher.

Suppress
Boolean

[in] True pour supprimer l'affichage de la boîte de dialogue.

Retours

Int32

Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.

Remarques

Signature COM

À partir de vsshell90. idl :

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

S’applique à