Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

enum System.GCCollectionMode

Assembly: System.Runtime

Specifies the behavior for a forced garbage collection.

Values

Default
The default setting for this enumeration, which is currently <see cref="F:System.GCCollectionMode.Forced" /> .
Forced
Forces the garbage collection to occur immediately.
Optimized
Allows the garbage collector to determine whether the current time is optimal to reclaim objects.
Aggressive
Requests that the garbage collector decommit as much memory as possible.