Class SequenceOwnedHandle
public class SequenceOwnedHandle : SequenceHandle, IDisposable
- Inheritance
-
SequenceOwnedHandle
- Implements
- Inherited Members
Constructors
SequenceOwnedHandle(IntPtr)
Creates a new instance of SequenceOwnedHandle. Assumes that the given pointer is owned by the runtime.
public SequenceOwnedHandle(IntPtr ptr)
Parameters
ptr
IntPtr
Methods
FromUnowned(IntPtr)
Create a SequenceOwnedHandle from a pointer that is assumed unowned.
public static SequenceOwnedHandle FromUnowned(IntPtr ptr)
Parameters
ptr
IntPtrA 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()