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