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: 5.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
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