JET_CALLBACK委托

数据库引擎使用的一个多用途回调函数,用于通知应用程序涉及联机碎片整理和游标状态通知的事件。

Namespace:Microsoft.Isam.Esent.Interop
装配: Microsoft.Isam.Esent.Interop.dll) 中的 Microsoft.Isam.Esent.Interop (

语法

'Declaration
Public Delegate Function JET_CALLBACK ( _
    sesid As JET_SESID, _
    dbid As JET_DBID, _
    tableid As JET_TABLEID, _
    cbtyp As JET_cbtyp, _
    arg1 As Object, _
    arg2 As Object, _
    context As IntPtr, _
    unused As IntPtr _
) As JET_err
'Usage
Dim instance As New JET_CALLBACK(AddressOf HandlerMethod)
public delegate JET_err JET_CALLBACK(
    JET_SESID sesid,
    JET_DBID dbid,
    JET_TABLEID tableid,
    JET_cbtyp cbtyp,
    Object arg1,
    Object arg2,
    IntPtr context,
    IntPtr unused
)

参数

  • arg1
    类型: System.Object

    第一个特定于回调的参数。

  • arg2
    类型: System.Object

    第二个特定于回调的参数。

返回值

类型: Microsoft.Isam.Esent.Interop.JET_err

另请参阅

参考

Microsoft.Isam.Esent.Interop 命名空间