ADODC.ErrorDelegate Delegált

Definíció

Figyelemfelhívás

Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862

Az eseményt kezelő metódust Error jelöli.

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)

Paraméterek

errorNumber
Int32

A Integer hibaszámot jelképező érték.

description
String

A String hibaüzenetet tartalmazó üzenet.

scode
Int32

A Integer hibaforrást jelképező.

source
String

A String forrásnevet jelképező név.

helpFile
String

A String hiba súgófájlját jelöli.

helpContext
Int32

Egy Integer súgótémakör környezeti azonosítóját jelöli.

cancelDisplay
Boolean

Ez Boolean határozza meg, hogy a felhasználó megszakíthatja-e a hiba párbeszédpanelt.

Attribútumok

Megjegyzések

Note

A Microsoft.VisualBasic.Compatibility.VB6 névtérben lévő függvényeket és objektumokat a 6.0-ról Visual Basic Visual Basic való frissítésre szolgáló eszközök biztosítják. A legtöbb esetben ezek a függvények és objektumok duplikálják azokat a funkciókat, amelyeket a .NET-keretrendszer más névtereiben talál. Ezekre csak akkor van szükség, ha a Visual Basic 6.0-s kódmodell jelentősen eltér a .NET-keretrendszer implementációjától.

Bővítő metódusok

Name Description
GetMethodInfo(Delegate)
Elavult.

Lekéri a megadott meghatalmazott által képviselt metódust képviselő objektumot.

A következőre érvényes: