IVCProjectEngineEvents.ReportError(String, Int32, String) Méthode

Définition

Envoie un message d'erreur à l'interface utilisateur.

public:
 void ReportError(System::String ^ ErrMsg, int hr, System::String ^ HelpKeyword);
public:
 void ReportError(Platform::String ^ ErrMsg, int hr, Platform::String ^ HelpKeyword);
void ReportError(std::wstring const & ErrMsg, int hr, std::wstring const & HelpKeyword);
[System.Runtime.InteropServices.DispId(281)]
public void ReportError (string ErrMsg, int hr, string HelpKeyword);
[<System.Runtime.InteropServices.DispId(281)>]
abstract member ReportError : string * int * string -> unit
Public Sub ReportError (ErrMsg As String, hr As Integer, HelpKeyword As String)

Paramètres

ErrMsg
String

Obligatoire. Message d'erreur.

hr
Int32

Obligatoire. Code d'erreur.

HelpKeyword
String

Obligatoire. Mot clé d'aide.

Attributs

Remarques

La ReportError méthode recommande à l' Visual Studio environnement de développement intégré (IDE) qu’il doit gérer une erreur.

S’applique à