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