.NET Framework Class Library
GCCollectionMode Fields
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Specifies the behavior for a forced garbage collection.

The following tables list the members exposed by the GCCollectionMode type.

Public Fields

  NameDescription
static memberDefaultThe default setting for this enumeration, which is currently Forced.
static memberForcedForces the garbage collection to occur immediately.
static memberOptimizedAllows the garbage collector to determine whether the current time is optimal to reclaim objects.
See Also

Reference

GCCollectionMode Type
System Namespace
Page view tracker