COR_PRF_GC_REASON Enumeration

Indicates the reason that garbage collection is occurring.

Syntax

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 System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: Available since 2.0

See also