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