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