Class ObjectHandle
public class ObjectHandle : SafeHandle, IDisposable
- Inheritance
-
ObjectHandle
- Implements
- Inherited Members
Constructors
ObjectHandle(IntPtr, object, bool)
public ObjectHandle(IntPtr handle, object obj, bool ownedRef)
Parameters
Properties
Handle
public IntPtr Handle { get; }
Property Value
IsInvalid
When overridden in a derived class, gets a value indicating whether the handle value is invalid.
public override sealed bool IsInvalid { get; }
Property Value
Methods
ReleaseHandle()
When overridden in a derived class, executes the code required to free the handle.
protected override sealed bool ReleaseHandle()