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