C# Class Microsoft.Isam.Esent.Interop.JetCallbackWrapper

Wraps a NATIVE_CALLBACK callback around a JET_CALLBACK. This is used to catch exceptions and provide argument conversion.
Afficher le fichier Open project: ayende/managed-esent Class Usage Examples

Méthodes publiques

Méthode Description
IsWrapping ( JET_CALLBACK callback ) : bool

Determine if the callback is wrapping the specified JET_CALLBACK.

JetCallbackWrapper ( JET_CALLBACK callback ) : System

Initializes a new instance of the JetCallbackWrapper class.

Private Methods

Méthode Description
CallbackImpl ( IntPtr nativeSesid, uint nativeDbid, IntPtr nativeTableid, uint nativeCbtyp, IntPtr arg1, IntPtr arg2, IntPtr nativeContext, IntPtr unused ) : JET_err

Callback function for native code.

JetCallbackWrapper ( ) : System

Initializes static members of the JetCallbackWrapper class.

Method Details

IsWrapping() public méthode

Determine if the callback is wrapping the specified JET_CALLBACK.
public IsWrapping ( JET_CALLBACK callback ) : bool
callback JET_CALLBACK The callback.
Résultat bool

JetCallbackWrapper() public méthode

Initializes a new instance of the JetCallbackWrapper class.
public JetCallbackWrapper ( JET_CALLBACK callback ) : System
callback JET_CALLBACK /// The managed callback to use. ///
Résultat System