Enum GcSuspendReason
Reason the CLR suspended the execution engine. Values match GCSuspendEEBegin_V1.Reason from the
Microsoft-Windows-DotNETRuntime EventSource — do not renumber.
public enum GcSuspendReason : byte
Fields
ForAppDomainShutdown = 2Suspended for an AppDomain shutdown.
ForCodePitching = 3Suspended for code pitching (JIT code eviction).
ForDebugger = 5Suspended for the debugger.
ForDebuggerSweep = 7Suspended for a debugger sweep.
ForGC = 1Suspended to perform a garbage collection.
ForGCPrep = 6Suspended in preparation for a garbage collection.
ForShutdown = 4Suspended for process shutdown.
Other = 0Suspension for a reason not covered by the other values.