Freigeben über


COR_PRF_GC_ROOT_FLAGS Enumeration

Indicates a property of a garbage collection root.

typedef enum {
    COR_PRF_GC_ROOT_PINNING = 0x1,
    COR_PRF_GC_ROOT_WEAKREF = 0x2,
    COR_PRF_GC_ROOT_INTERIOR = 0x4,
    COR_PRF_GC_ROOT_REFCOUNTED = 0x8,
} COR_PRF_GC_ROOT_FLAGS;

Members

Member Description

COR_PRF_GC_ROOT_PINNING

The root prevents a garbage collection from moving the object.

COR_PRF_GC_ROOT_WEAKREF

The root does not prevent garbage collection.

COR_PRF_GC_ROOT_INTERIOR

The root refers to a field of the object rather than the object itself.

COR_PRF_GC_ROOT_REFCOUNTED

The root prevents garbage collection if the reference count of the object is a certain value.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorProf.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

See Also

Other Resources

Profiling Enumerations