System.Runtime.InteropServices.HandleCollector Class

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

See Also: HandleCollector Members

Syntax

public sealed class HandleCollector

Remarks

The System.Runtime.InteropServices.HandleCollector class keeps track of a limited number of handles to unmanaged resources. Typically, unmanaged resources include handles to HDCs, HWnds, and so on.

Requirements

Namespace: System.Runtime.InteropServices
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0