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