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

A class that encapsulates a JET_SESID in a disposable object.
Inheritance: Microsoft.Isam.Esent.Interop.EsentResource
Afficher le fichier Open project: ayende/managed-esent Class Usage Examples

Méthodes publiques

Méthode Description
End ( ) : void

Terminate the session.

Session ( JET_INSTANCE instance )

Initializes a new instance of the Session class. A new JET_SESSION is allocated from the given instance.

Méthodes protégées

Méthode Description
ReleaseResource ( ) : void

Free the underlying JET_SESID.

Method Details

End() public méthode

Terminate the session.
public End ( ) : void
Résultat void

ReleaseResource() protected méthode

Free the underlying JET_SESID.
protected ReleaseResource ( ) : void
Résultat void

Session() public méthode

Initializes a new instance of the Session class. A new JET_SESSION is allocated from the given instance.
public Session ( JET_INSTANCE instance )
instance JET_INSTANCE The instance to start the session in.