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