Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

CriticalHandle Methods

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

The CriticalHandle type exposes the following members.

  Name Description
Public method Close Security Critical. Marks the handle for releasing and freeing resources.
Public method Dispose() Releases all resources used by the CriticalHandle.
Protected method Dispose(Boolean) Security Critical. Releases the unmanaged resources used by the CriticalHandle class specifying whether to perform a normal dispose operation.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Frees all resources associated with the handle. (Overrides CriticalFinalizerObject.Finalize().)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method ReleaseHandle When overridden in a derived class, executes the code required to free the handle.
Protected method SetHandle Sets the handle to the specified pre-existing handle.
Public method SetHandleAsInvalid Marks a handle as invalid.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.