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