Freigeben über


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

Definition

Löst 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

Gibt die Fehlermeldung an.

subComponent
String

Enthält weitere Details zur Ereignisquelle.

description
String

Der Text der Meldung.

helpFile
String

Der Pfad zur Hilfedatei, die ausführliche Informationen enthält.

helpContext
Int32

Der Bezeichner des Themas in der Hilfedatei.

Gibt zurück

True, wenn das Ereignis weiterhin ausgelöst werden soll; andernfalls false.

Gilt für: