Click to Rate and Give Feedback
MSDN
MSDN Library

  Switch on low bandwidth view
.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.

  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.

Reference

GCCollectionMode Type
System Namespace
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker