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