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