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