共用方式為


CorDebugGenerationTypes 列舉

指定 Managed 堆積上的記憶體區域產生方式。

語法

typedef enum CorDebugGenerationTypes {
    CorDebug_Gen0 = 0,
    CorDebug_Gen1 = 1,
    CorDebug_Gen2 = 2,
    CorDebug_LOH  = 3,
} CorDebugRegionTypes;

成員

成員名稱 說明
CorDebug_Gen0 層代 0。
CorDebug_Gen1 第 1 代。
CorDebug_Gen2 層代 2。
CorDebug_LOH 大型物件堆積。

備註

需求

平台:請參閱系統需求

標頭:CorDebug.idl、CorDebug.h

程式庫:CorGuids.lib

.NET Framework版本:自 4.5 起可用

另請參閱