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