SafeHandle Methods
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() | Close() | Marks the handle for releasing and freeing resources. |
![]() | DangerousAddRef(Boolean%) | Manually increments the reference counter on SafeHandle instances. |
![]() | DangerousGetHandle() | Returns the value of the handle field. |
![]() | DangerousRelease() | Manually decrements the reference counter on a SafeHandle instance. |
![]() | Dispose() | Releases all resources used by the SafeHandle class. |
![]() | Dispose(Boolean) | Releases the unmanaged resources used by the SafeHandle class specifying whether to perform a normal dispose operation. |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Frees all resources associated with the handle.(Overrides CriticalFinalizerObject::Finalize().) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ReleaseHandle() | When overridden in a derived class, executes the code required to free the handle. |
![]() | SetHandle(IntPtr) | Sets the handle to the specified pre-existing handle. |
![]() | SetHandleAsInvalid() | Marks a handle as no longer used. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |

