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

Wraps a NATIVE_PFNSTATUS callback around a JET_PFNSTATUS. This is used to convert the snprog argument to a managed snprog.
Afficher le fichier Open project: ayende/managed-esent Class Usage Examples

Private Properties

Свойство Type Description
CallbackImpl JET_err
StatusCallbackWrapper System

Méthodes publiques

Méthode Description
StatusCallbackWrapper ( JET_PFNSTATUS wrappedCallback ) : System

Initializes a new instance of the StatusCallbackWrapper class.

ThrowSavedException ( ) : void

If an exception was generated during a callback throw it.

Private Methods

Méthode Description
CallbackImpl ( IntPtr nativeSesid, uint nativeSnp, uint nativeSnt, IntPtr nativeSnprog ) : JET_err

Callback function for native code.

StatusCallbackWrapper ( ) : System

Initializes static members of the StatusCallbackWrapper class.

Method Details

StatusCallbackWrapper() public méthode

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

ThrowSavedException() public méthode

If an exception was generated during a callback throw it.
public ThrowSavedException ( ) : void
Résultat void