Include protected members
Include inherited members
This is the base class for all esent resource objects. Subclasses of this class can allocate and release unmanaged resources.
The EsentResource type exposes the following members.
Constructors
<table> <thead> <tr class="header"> <th> </th> <th>Name</th> <th>Description</th> </tr> </thead> <tbody> <tr class="odd"> <td><img src="../images/dn292116.protmethod(exchg.10).gif" title="Protected method" alt="Protected method" /></td> <td><a href="dn350551(v=exchg.10).md">EsentResource</a></td> <td></td> </tr> </tbody> </table>
Top
Properties
<table> <thead> <tr class="header"> <th> </th> <th>Name</th> <th>Description</th> </tr> </thead> <tbody> <tr class="odd"> <td><img src="../images/dn292128.protproperty(exchg.10).gif" title="Protected property" alt="Protected property" /></td> <td><a href="dn350578(v=exchg.10).md">HasResource</a></td> <td>Gets a value indicating whether the underlying resource is currently allocated.</td> </tr> </tbody> </table>
Top
Methods
<table> <thead> <tr class="header"> <th> </th> <th>Name</th> <th>Description</th> </tr> </thead> <tbody> <tr class="odd"> <td><img src="../images/dn292116.protmethod(exchg.10).gif" title="Protected method" alt="Protected method" /></td> <td><a href="dn350541(v=exchg.10).md">CheckObjectIsNotDisposed</a></td> <td>Throw an exception if this object has been disposed.</td> </tr> <tr class="even"> <td><img src="../images/dn292146.pubmethod(exchg.10).gif" title="Public method" alt="Public method" /></td> <td><a href="dn350553(v=exchg.10).md">Dispose()</a></td> <td>Dispose of this object, releasing the underlying Esent resource.</td> </tr> <tr class="odd"> <td><img src="../images/dn292116.protmethod(exchg.10).gif" title="Protected method" alt="Protected method" /></td> <td><a href="dn350543(v=exchg.10).md">Dispose(Boolean)</a></td> <td>Called by Dispose and the finalizer.</td> </tr> <tr class="even"> <td><img src="../images/dn292146.pubmethod(exchg.10).gif" title="Public method" alt="Public method" /></td> <td><a href="/dotnet/api/system.object.equals#System_Object_Equals_System_Object_">Equals</a></td> <td>(Inherited from <a href="/dotnet/api/system.object">Object</a>.)</td> </tr> <tr class="odd"> <td><img src="../images/dn292116.protmethod(exchg.10).gif" title="Protected method" alt="Protected method" /></td> <td><a href="dn350552(v=exchg.10).md">Finalize</a></td> <td>Finalizes an instance of the EsentResource class. (Overrides <a href="/dotnet/api/system.object.finalize#System_Object_Finalize">Object.Finalize()</a>.)</td> </tr> <tr class="even"> <td><img src="../images/dn292146.pubmethod(exchg.10).gif" title="Public method" alt="Public method" /></td> <td><a href="/dotnet/api/system.object.gethashcode#System_Object_GetHashCode">GetHashCode</a></td> <td>(Inherited from <a href="/dotnet/api/system.object">Object</a>.)</td> </tr> <tr class="odd"> <td><img src="../images/dn292146.pubmethod(exchg.10).gif" title="Public method" alt="Public method" /></td> <td><a href="/dotnet/api/system.object.gettype#System_Object_GetType">GetType</a></td> <td>(Inherited from <a href="/dotnet/api/system.object">Object</a>.)</td> </tr> <tr class="even"> <td><img src="../images/dn292116.protmethod(exchg.10).gif" title="Protected method" alt="Protected method" /></td> <td><a href="/dotnet/api/system.object.memberwiseclone#System_Object_MemberwiseClone">MemberwiseClone</a></td> <td>(Inherited from <a href="/dotnet/api/system.object">Object</a>.)</td> </tr> <tr class="odd"> <td><img src="../images/dn292116.protmethod(exchg.10).gif" title="Protected method" alt="Protected method" /></td> <td><a href="dn350545(v=exchg.10).md">ReleaseResource</a></td> <td>Implemented by the subclass to release a resource.</td> </tr> <tr class="even"> <td><img src="../images/dn292116.protmethod(exchg.10).gif" title="Protected method" alt="Protected method" /></td> <td><a href="dn350576(v=exchg.10).md">ResourceWasAllocated</a></td> <td>Called by a subclass when a resource is allocated.</td> </tr> <tr class="odd"> <td><img src="../images/dn292116.protmethod(exchg.10).gif" title="Protected method" alt="Protected method" /></td> <td><a href="dn350577(v=exchg.10).md">ResourceWasReleased</a></td> <td>Called by a subclass when a resource is freed.</td> </tr> <tr class="even"> <td><img src="../images/dn292146.pubmethod(exchg.10).gif" title="Public method" alt="Public method" /></td> <td><a href="/dotnet/api/system.object.tostring#System_Object_ToString">ToString</a></td> <td>(Inherited from <a href="/dotnet/api/system.object">Object</a>.)</td> </tr> </tbody> </table>
Top
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.
