ADODC.ErrorDelegate Delegasikan
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.
Perhatian
Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862
Mewakili metode yang akan menangani peristiwa Error .
public: delegate void ADODC::ErrorDelegate(int errorNumber, System::String ^ % description, int scode, System::String ^ source, System::String ^ helpFile, int helpContext, bool % cancelDisplay);
public delegate void ADODC.ErrorDelegate(int errorNumber, ref string description, int scode, string source, string helpFile, int helpContext, ref bool cancelDisplay);
[System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")]
public delegate void ADODC.ErrorDelegate(int errorNumber, ref string description, int scode, string source, string helpFile, int helpContext, ref bool cancelDisplay);
type ADODC.ErrorDelegate = delegate of int * string * int * string * string * int * bool -> unit
[<System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")>]
type ADODC.ErrorDelegate = delegate of int * string * int * string * string * int * bool -> unit
Public Delegate Sub ADODC.ErrorDelegate(errorNumber As Integer, ByRef description As String, scode As Integer, source As String, helpFile As String, helpContext As Integer, ByRef cancelDisplay As Boolean)
Parameter
- errorNumber
- Int32
Yang Integer menunjukkan nomor kesalahan.
- description
- String
Yang String berisi pesan kesalahan.
- scode
- Int32
Yang Integer mewakili sumber kesalahan.
- source
- String
String yang mewakili nama sumber.
- helpFile
- String
String yang mewakili file Bantuan untuk kesalahan tersebut.
- helpContext
- Int32
Integer yang mewakili ID konteks untuk topik Bantuan.
- cancelDisplay
- Boolean
Yang Boolean menentukan apakah pengguna dapat membatalkan kotak dialog kesalahan.
- Atribut
Keterangan
Catatan
Fungsi dan objek di Microsoft.VisualBasic.Compatibility.VB6 namespace disediakan untuk digunakan oleh alat untuk meningkatkan dari Visual Basic 6.0 ke Visual Basic. Dalam kebanyakan kasus, fungsi dan objek ini menduplikasi fungsionalitas yang dapat Anda temukan di namespace layanan lain di .NET Framework. Mereka hanya diperlukan ketika model kode Visual Basic 6.0 berbeda secara signifikan dari implementasi .NET Framework.
Metode Ekstensi
| GetMethodInfo(Delegate) |
Kedaluwarsa.
Mendapatkan objek yang mewakili metode yang diwakili oleh delegasi yang ditentukan. |