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