A multi-purpose callback function used by the database engine to inform the application of an event involving online defragmentation and cursor state notifications.
Namespace: Microsoft.Isam.Esent.Interop
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Syntax
'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
)
Parameters
-
sesid
Type: Microsoft.Isam.Esent.Interop.JET_SESIDThe session for which the callback is being made.
-
dbid
Type: Microsoft.Isam.Esent.Interop.JET_DBIDThe database for which the callback is being made.
-
tableid
Type: Microsoft.Isam.Esent.Interop.JET_TABLEIDThe cursor for which the callback is being made.
-
cbtyp
Type: Microsoft.Isam.Esent.Interop.JET_cbtypThe operation for which the callback is being made.
-
arg1
Type: System.ObjectFirst callback-specific argument.
-
arg2
Type: System.ObjectSecond callback-specific argument.
-
context
Type: System.IntPtrCallback context.
-
unused
Type: System.IntPtrThis parameter is not used.
Return value
Type: Microsoft.Isam.Esent.Interop.JET_err
See also
Reference
Microsoft.Isam.Esent.Interop namespace
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
