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: Windows 2000, Windows XP, Windows Server 2003 family
Header: CorProf.idl
Library: CorGuids.lib
.NET Framework Version: 2.0