Click or drag to resize

GarbageCollectorProperty Enumeration

Gets or sets the property of System.GC to retrieve.

Namespace:  NLog.LayoutRenderers
Assembly:  NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntax
public enum GarbageCollectorProperty
Members
  Member nameValueDescription
TotalMemory0 Total memory allocated.
TotalMemoryForceCollection1 Total memory allocated (perform full garbage collection first).
CollectionCount02 Gets the number of Gen0 collections.
CollectionCount13 Gets the number of Gen1 collections.
CollectionCount24 Gets the number of Gen2 collections.
MaxGeneration5 Maximum generation number supported by GC.
See Also