Export (0) Print
Expand All

COR_PRF_HIGH_MONITOR Enumeration

[Supported in the .NET Framework 4.5.2 and later versions]

Provides flags in addition to those found in the COR_PRF_MONITOR enumeration that the profiler can specify to the ICorProfilerInfo5::SetEventMask2 method when it is loading.

typedef enum {
    COR_PRF_HIGH_MONITOR_NONE                = 0x00000000,
    COR_PRF_HIGH_ADD_ASSEMBLY_REFERENCES     = 0x00000001,
    COR_PRF_HIGH_REQUIRE_PROFILE_IMAGE       = 0,
    COR_PRF_HIGH_ALLOWABLE_AFTER_ATTACH      = 0,
    COR_PRF_HIGH_MONITOR_IMMUTABLE           = 0
} COR_PRF_HIGH_MONITOR;

Member

Description

COR_PRF_HIGH_MONITOR_NONE

No flags are set.

COR_PRF_HIGH_ADD_ASSEMBLY_REFERENCES

Controls the ICorProfilerCallback6::GetAssemblyReference callback for adding assembly references during the CLR assembly reference closure walk.

COR_PRF_HIGH_REQUIRE_PROFILE_IMAGE

Represents all COR_PRF_HIGH_MONITOR flags that require profile-enhanced images. It corresponds to the COR_PRF_REQUIRE_PROFILE_IMAGE flag in the COR_PRF_MONITOR enumeration.

COR_PRF_HIGH_ALLOWABLE_AFTER_ATTACH

Represents all COR_PRF_HIGH_MONITOR flags that can be set after the profiler is attached to a running app.

COR_PRF_HIGH_MONITOR_IMMUTABLE

Represents all COR_PRF_HIGH_MONITOR flags that can be set only during initialization. Trying to change any of these flags elsewhere results in an HRESULT value that indicates failure.

The COR_PRF_HIGH_MONITOR flags are used with the pdwEventsHigh parameter of the ICorProfilerInfo5::GetEventMask2 and ICorProfilerInfo5::SetEventMask2 methods.

Platforms: See .NET Framework System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: 4.5.2

Show:
© 2014 Microsoft