ADODC.ErrorDelegate Delegado

Definición

Precaución

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

Representa el método que controlará un Error evento.

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)

Parámetros

errorNumber
Int32

que Integer representa el número de error.

description
String

que String contiene el mensaje de error.

scode
Int32

que Integer representa el origen del error.

source
String

que String representa el nombre de origen.

helpFile
String

que String representa el archivo de ayuda del error.

helpContext
Int32

que Integer representa el identificador de contexto de un tema de Ayuda.

cancelDisplay
Boolean

que Boolean determina si el usuario puede cancelar el cuadro de diálogo de error.

Atributos

Comentarios

Note

Las herramientas proporcionan funciones y objetos en el Microsoft.VisualBasic.Compatibility.VB6 espacio de nombres para actualizar de Visual Basic 6.0 a Visual Basic. En la mayoría de los casos, estas funciones y objetos duplican la funcionalidad que puede encontrar en otros espacios de nombres en .NET Framework. Solo son necesarios cuando el modelo de código Visual Basic 6.0 difiere significativamente de la implementación de .NET Framework.

Métodos de extensión

Nombre Description
GetMethodInfo(Delegate)
Obsoletos.

Obtiene un objeto que representa el método representado por el delegado especificado.

Se aplica a