Bagikan melalui


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

Definisi

Memunculkan peristiwa ketika terjadi kesalahan.

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

Mengidentifikasi pesan kesalahan.

subComponent
String

Berisi detail selengkapnya tentang sumber peristiwa.

description
String

Teks pesan.

helpFile
String

Jalur ke file Bantuan yang berisi informasi terperinci.

helpContext
Int32

Pengidentifikasi topik dalam file Bantuan.

Mengembalikan

True jika peristiwa harus terus diaktifkan; jika tidak, salah.

Berlaku untuk