ICorProfilerInfo5 Interface

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

A subclass of ICorProfilerInfo4 that provides methods for use by code profilers to communicate with the common language runtime (CLR) to control event monitoring.

Methods

Method Description
GetEventMask2 Method Gets the current event categories for which the profiler wants to receive notifications from the CLR.
SetEventMask2 Method Sets a value that specifies the types of events for which the profiler wants to receive event notifications from the CLR.

Remarks

The methods available on this interface are intended to replace the ICorProfilerInfo::GetEventMask and ICorProfilerInfo::SetEventMask methods.

Requirements

Platforms: See System Requirements.

Header: CorProf.idl, CorProf.h

.NET Framework Versions: Available since 4.5.2

See Also

Profiling Interfaces