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