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