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