Compartilhar via


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: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorProf.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

See Also

Concepts

Profiling Enumerations