ADODC.ErrorDelegate Delegát
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Upozornění
Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862
Představuje metodu, která bude zpracovávat Error událost.
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
Jedná se o Integer číslo chyby.
- description
- String
A String obsahující chybovou zprávu.
- scode
- Int32
Jedná se o Integer zdroj chyby.
- source
- String
A String , který představuje název zdroje.
- helpFile
- String
A String , který představuje soubor nápovědy pro chybu.
- helpContext
- Int32
Jedná se Integer o ID kontextu tématu nápovědy.
- cancelDisplay
- Boolean
A Boolean , který určuje, zda uživatel může zrušit dialogové okno chyby.
- Atributy
Poznámky
Note
Funkce a objekty v Microsoft.VisualBasic.Compatibility.VB6 oboru názvů jsou poskytovány nástroji pro upgrade z jazyka Visual Basic 6.0 na Visual Basic. Ve většině případů tyto funkce a objekty duplikují funkce, které najdete v jiných oborech názvů v .NET Framework. Jsou nezbytné pouze v případě, že se model kódu Visual Basic 6.0 výrazně liší od implementace .NET Framework.
Metody rozšíření
| Name | Description |
|---|---|
| GetMethodInfo(Delegate) |
Zastaralé.
Získá objekt, který představuje metodu reprezentovanou zadaným delegátem. |