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