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