Linguaggio

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

Definizione

Genera un evento quando si verifica un errore.

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

Parametri

errorCode
Int32

Identifica il messaggio di errore.

subComponent
String

Contiene maggiori dettagli sulla fonte dell'evento.

description
String

Testo del messaggio.

helpFile
String

Il file di percorso verso Help che contiene informazioni dettagliate.

helpContext
Int32

L'identificatore dell'argomento nel file di Aiuto.

Valori restituiti

Vero se l'evento dovesse continuare a sparare; altrimenti, falso.

Si applica a