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