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