EventsObjectWrapper.FireError(Int32, String, String, String, Int32) Methode

Definition

Ruft ein Ereignis aus, wenn ein Fehler auftritt.

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

Parameter

errorCode
Int32

Identifiziert die Fehlermeldung.

subComponent
String

Enthält weitere Details zur Quelle des Ereignisses.

description
String

Der Text der Nachricht.

helpFile
String

Der Weg zur Hilfedatei, die detaillierte Informationen enthält.

helpContext
Int32

Die Kennung des Themas in der Hilfedatei.

Gibt zurück

Das stimmt, wenn das Ereignis weiter feuern sollte; ansonsten falsch.

Gilt für: