Edit

Share via


Instance class

A class that encapsulates a JET_INSTANCE in a disposable object. The instance must be closed last and closing the instance releases all other resources for the instance.

Inheritance hierarchy

System.Object
  System.Runtime.ConstrainedExecution.CriticalFinalizerObject
    System.Runtime.InteropServices.SafeHandle
      Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid
        Microsoft.Isam.Esent.Interop.Instance

Namespace:  Microsoft.Isam.Esent.Interop
Assembly:  Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)

Syntax

'Declaration
Public Class Instance _
    Inherits SafeHandleZeroOrMinusOneIsInvalid
'Usage
Dim instance As Instance
public class Instance : SafeHandleZeroOrMinusOneIsInvalid

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

Instance members

Microsoft.Isam.Esent.Interop namespace