ADODC.ErrorDelegate Delegat

Definicja

Przestroga

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

Reprezentuje metodę Error , która będzie obsługiwać zdarzenie.

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)

Parametry

errorNumber
Int32

Element Integer reprezentujący numer błędu.

description
String

Element String zawierający komunikat o błędzie.

scode
Int32

Element Integer reprezentujący źródło błędu.

source
String

Element String reprezentujący nazwę źródłową.

helpFile
String

Element String reprezentujący plik Pomocy dla błędu.

helpContext
Int32

Element Integer reprezentujący identyfikator kontekstu dla tematu Pomocy.

cancelDisplay
Boolean

Element Boolean określający, czy użytkownik może anulować okno dialogowe błędu.

Atrybuty

Uwagi

Uwaga

Funkcje i obiekty w Microsoft.VisualBasic.Compatibility.VB6 przestrzeni nazw są udostępniane do użycia przez narzędzia do uaktualniania z programu Visual Basic 6.0 do Visual Basic. W większości przypadków te funkcje i obiekty powielają funkcjonalność dostępną w innych przestrzeniach nazw programu .NET Framework. Ich użycie jest konieczne tylko w sytuacji, gdy model kodu programu Visual Basic 6.0 różni się znacząco od wdrożenia programu .NET Framework.

Metody rozszerzania

GetMethodInfo(Delegate)
Przestarzałe.

Pobiera obiekt reprezentujący metodę reprezentowaną przez określonego delegata.

Dotyczy