This documentation is archived and is not being maintained.

HandleCollector Members

Tracks outstanding handles and forces a garbage collection when the specified threshold is reached.

The HandleCollector type exposes the following members.

  NameDescription
Public method HandleCollector Overloaded.
Top

  NameDescription
Public method Add Increments the current handle count.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
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.)
Public method Remove Decrements the current handle count.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public property Count Gets the number of handles collected.
Public property InitialThreshold Gets a value that specifies the point at which collections should begin.
Public property MaximumThreshold Gets a value that specifies the point at which collections must occur.
Public property Name Gets the name of a HandleCollector object.
Top
Show: