EventsObjectWrapper.FireError(Int32, String, String, String, Int32) Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
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.