Share via


COR_PRF_GC_REASON Enumeration

Indicates the reason that garbage collection is occurring.

typedef enum {
    COR_PRF_GC_INDUCED = 1,
    COR_PRF_GC_OTHER = 0
} COR_PRF_GC_REASON;

Members

Member

Description

COR_PRF_GC_INDUCED

The garbage collection was induced by a Collect method.

COR_PRF_GC_OTHER

The reason is unspecified.

Requirements

Platforms: See .NET Framework System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Other Resources

Profiling Enumerations