Class BinPrivateOwnedHandle
public class BinPrivateOwnedHandle : BinPrivateHandle, IDisposable
- Inheritance
-
BinPrivateOwnedHandle
- Implements
- Inherited Members
Constructors
BinPrivateOwnedHandle(IntPtr)
Creates a new instance of BinPrivateOwnedHandle. Assumes that the given pointer is owned by the runtime.
public BinPrivateOwnedHandle(IntPtr ptr)
Parameters
ptr
IntPtr
Methods
FromUnowned(IntPtr)
Create a BinPrivateOwnedHandle from a pointer that is assumed unowned.
public static BinPrivateOwnedHandle FromUnowned(IntPtr ptr)
Parameters
ptr
IntPtrA pointer to a BinPrivate which is not owned by the runtime.
Returns
- BinPrivateOwnedHandle
A BinPrivateOwnedHandle
ReleaseHandle()
When overridden in a derived class, executes the code required to free the handle.
protected override bool ReleaseHandle()