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