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