[This is preliminary documentation and is subject to change.]

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

Namespace:  NLog.LayoutRenderers
Assembly:  NLog (in NLog.dll) Version: 2.0.0.0

Syntax

C#
public enum GarbageCollectorProperty
Visual Basic (Declaration)
Public Enumeration GarbageCollectorProperty
Visual C++
public enum class GarbageCollectorProperty

Members

Member nameDescription
TotalMemory
Total memory allocated.
TotalMemoryForceCollection
Total memory allocated (perform full garbage collection first).
CollectionCount0
Gets the number of Gen0 collections.
CollectionCount1
Gets the number of Gen1 collections.
CollectionCount2
Gets the number of Gen2 collections.
MaxGeneration
Maximum generation number supported by GC.

See Also