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