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