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
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.
