MSDN 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.

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.


GCCollectionMode Type
System Namespace
© 2015 Microsoft