Partager via


EventsObjectWrapper.FireError(Int32, String, String, String, Int32) Méthode

Définition

Déclenche un événement lorsqu'une erreur se produit.

public:
 bool FireError(int errorCode, System::String ^ subComponent, System::String ^ description, System::String ^ helpFile, int helpContext);
public bool FireError (int errorCode, string subComponent, string description, string helpFile, int helpContext);
member this.FireError : int * string * string * string * int -> bool
Public Function FireError (errorCode As Integer, subComponent As String, description As String, helpFile As String, helpContext As Integer) As Boolean

Paramètres

errorCode
Int32

Identifie le message d'erreur.

subComponent
String

Contient des détails supplémentaires à propos de la source de l'événement.

description
String

Texte du message.

helpFile
String

Chemin d'accès au fichier d'aide qui contient des informations détaillées.

helpContext
Int32

Identificateur de la rubrique dans le fichier d'aide.

Retours

True si l’événement doit continuer à déclencher ; sinon, false.

S’applique à