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