COR_PRF_GC_ROOT_KIND Enumeration
Indicates the kind of garbage collection root that is exposed by the ICorProfilerCallback2::RootReferences2 callback.
typedef enum {
COR_PRF_GC_ROOT_STACK = 1,
COR_PRF_GC_ROOT_FINALIZER = 2,
COR_PRF_GC_ROOT_HANDLE = 3,
COR_PRF_GC_ROOT_OTHER = 0
} COR_PRF_GC_ROOT_KIND;
Members
Member |
Description |
---|---|
COR_PRF_GC_ROOT_STACK |
The root is a variable on the stack. |
COR_PRF_GC_ROOT_FINALIZER |
The root is an entry in the finalizer queue. |
COR_PRF_GC_ROOT_HANDLE |
The root is a garbage collection handle. |
COR_PRF_GC_ROOT_OTHER |
The kind of root 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