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