GCSettings Class

Definition

Specifies the garbage collection settings for the current process.

public ref class GCSettings abstract sealed
public static class GCSettings
type GCSettings = class
Public Class GCSettings
Inheritance
GCSettings

Remarks

Use the IsServerGC property to determine whether server garbage collection is enabled for the current process.

Properties

IsServerGC

Gets a value that indicates whether server garbage collection is enabled.

LargeObjectHeapCompactionMode

Gets or sets a value that indicates whether a full blocking garbage collection compacts the large object heap (LOH).

LatencyMode

Gets or sets the current latency mode for garbage collection.

Applies to