Class PowerProfileMonitorInterfaceUnownedHandle
public class PowerProfileMonitorInterfaceUnownedHandle : PowerProfileMonitorInterfaceHandle, IDisposable
- Inheritance
-
PowerProfileMonitorInterfaceUnownedHandle
- Implements
- Inherited Members
Constructors
PowerProfileMonitorInterfaceUnownedHandle(nint)
Creates a new instance of PowerProfileMonitorInterfaceOwnedHandle. Assumes that the given pointer is unowned by the runtime.
public PowerProfileMonitorInterfaceUnownedHandle(nint ptr)
Parameters
ptr
nint
Properties
NullHandle
public static PowerProfileMonitorInterfaceUnownedHandle NullHandle { get; }
Property Value
Methods
Copy()
public PowerProfileMonitorInterfaceOwnedHandle Copy()
Returns
ReleaseHandle()
When overridden in a derived class, executes the code required to free the handle.
protected override bool ReleaseHandle()