Class DeviceMonitorPrivateOwnedHandle
public class DeviceMonitorPrivateOwnedHandle : DeviceMonitorPrivateHandle, IDisposable
- Inheritance
-
DeviceMonitorPrivateOwnedHandle
- Implements
- Inherited Members
Constructors
DeviceMonitorPrivateOwnedHandle(nint)
Creates a new instance of DeviceMonitorPrivateOwnedHandle. Assumes that the given pointer is owned by the runtime.
public DeviceMonitorPrivateOwnedHandle(nint ptr)
Parameters
ptr
nint
Methods
FromUnowned(nint)
Create a DeviceMonitorPrivateOwnedHandle from a pointer that is assumed unowned.
public static DeviceMonitorPrivateOwnedHandle FromUnowned(nint ptr)
Parameters
ptr
nintA 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()