COR_PRF_MODULE_FLAGS Enumeration
Specifies the properties of a module.
Syntax
typedef enum
{
COR_PRF_MODULE_DISK = 0x00000001,
COR_PRF_MODULE_NGEN = 0x00000002,
COR_PRF_MODULE_DYNAMIC = 0x00000004,
COR_PRF_MODULE_COLLECTIBLE = 0x00000008,
COR_PRF_MODULE_RESOURCE = 0x00000010,
COR_PRF_MODULE_FLAT_LAYOUT = 0x00000020,
COR_PRF_MODULE_WINDOWS_RUNTIME = 0x00000040
} COR_PRF_MODULE_FLAGS;
Members
Member | Description |
---|---|
COR_PRF_MODULE_DISK | The module was loaded from disk. |
COR_PRF_MODULE_NGEN | The module was generated by the Native Image Generator (Ngen.exe). |
COR_PRF_MODULE_DYNAMIC | The module was created by methods in the System.Reflection.Emit namespace. |
COR_PRF_MODULE_COLLECTIBLE | The module's lifetime is managed by the garbage collector. |
COR_PRF_MODULE_RESOURCE | The module contains no metadata and is used strictly as a resource. The managed equivalent of this bit is the Module.IsResource method. |
COR_PRF_MODULE_FLAT_LAYOUT | The module's layout in memory is flat, not mapped. If a module has this bit set, profilers that read information directly from the portable executable (PE) file header will have to be careful when interpreting relative virtual addresses (RVAs) in the header. |
COR_PRF_MODULE_WINDOWS_RUNTIME | The Windows Runtime content type flag is set in the metadata for this module's assembly. This is the case for all Windows Metadata (.winmd) modules. |
Remarks
Bits from COR_PRF_MODULE_FLAGS are returned to the profiler in the pdwModuleFlags
output parameter of the ICorProfilerInfo3::GetModuleInfo2 method. Some combinations of two or more flags are possible, but not all combinations are possible.
Requirements
Platforms: See System Requirements.
Header: CorProf.idl, CorProf.h
Library: CorGuids.lib
.NET Framework Versions: Available since 4
See also
Bendradarbiaukite su mumis dirbdami „GitHub“
Šio turinio šaltinį galima rasti „GitHub“, kur taip pat galite kurti ir peržiūrėti problemas bei teikti užklausas. Daugiau informacijos žr. mūsų bendraautorių vadove.