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