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