Class SequenceOwnedHandle
public class SequenceOwnedHandle : SequenceHandle, IDisposable
- Inheritance
-
SequenceOwnedHandle
- Implements
- Inherited Members
Constructors
SequenceOwnedHandle(nint)
Creates a new instance of SequenceOwnedHandle. Assumes that the given pointer is owned by the runtime.
public SequenceOwnedHandle(nint ptr)
Parameters
ptr
nint
Methods
FromUnowned(nint)
Create a SequenceOwnedHandle from a pointer that is assumed unowned.
public static SequenceOwnedHandle FromUnowned(nint ptr)
Parameters
ptr
nintA pointer to a Sequence which is not owned by the runtime.
Returns
- SequenceOwnedHandle
A SequenceOwnedHandle
ReleaseHandle()
When overridden in a derived class, executes the code required to free the handle.
protected override bool ReleaseHandle()