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