ADODC.Error 事件

定义

ADODC 中引发异常时发生。Occurs when an exception is raised in a ADODC.

public:
 event Microsoft::VisualBasic::Compatibility::VB6::ADODC::ErrorDelegate ^ Error;
public event Microsoft.VisualBasic.Compatibility.VB6.ADODC.ErrorDelegate Error;
member this.Error : Microsoft.VisualBasic.Compatibility.VB6.ADODC.ErrorDelegate 
Public Custom Event Error As ADODC.ErrorDelegate 
Public Event Error As ADODC.ErrorDelegate 

事件类型

ADODC.ErrorDelegate

注解

使用此事件可处理派生自基础 OLE DB 的异常 DataSourceUse this event to handle exceptions that derive from the underlying OLE DB DataSource.

备注

Microsoft.VisualBasic.Compatibility.VB6 命名空间中的函数和对象用于工具从 Visual Basic 6.0 升级到 Visual Basic。Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic. 多数情况下,这些函数和对象可再现 .NET Framework 中其他命名空间的功能。In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. 只有当 Visual Basic 6.0 代码模型与 .NET Framework 实现有显著区别时,才必须使用这些函数和对象。They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.

适用于