System.Runtime.GCLatencyMode.Batch Field

Disables garbage collection concurrency and reclaims objects in a batch call. This is the most intrusive mode.

Syntax

GCLatencyMode Batch

Remarks

This mode is designed for maximum throughput at the expense of responsiveness. 

This mode overrides the <gcConcurrent> runtime configuration setting. If <gcConcurrent> is enabled, switching to GCLatencyMode.Batch mode prevents any further concurrent collections.

Requirements

Namespace: System.Runtime
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0