IVsUIShell3.ReportErrorInfo2(Int32, Boolean) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
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
);