Skip to content

Latest commit

 

History

History
54 lines (40 loc) · 1.75 KB

icorprofilerinfo-seteventmask-method.md

File metadata and controls

54 lines (40 loc) · 1.75 KB
description title ms.date api_name api_location api_type f1_keywords helpviewer_keywords ms.assetid topic_type
Learn more about: ICorProfilerInfo::SetEventMask Method
ICorProfilerInfo::SetEventMask Method
03/30/2017
ICorProfilerInfo.SetEventMask
mscorwks.dll
COM
ICorProfilerInfo::SetEventMask
ICorProfilerInfo::SetEventMask method [.NET Framework profiling]
SetEventMask method [.NET Framework profiling]
44bc0f56-32fa-491e-a62d-52fc96d48125
apiref

ICorProfilerInfo::SetEventMask Method

Sets a value that specifies the types of events for which the profiler wants to receive notification from the common language runtime (CLR).

Syntax

HRESULT SetEventMask(  
    [in] DWORD dwEvents);  

Parameters

dwEvents
[in] A 4-byte value that specifies the categories of events. Each bit controls a different capability, behavior, or type of event. The bits are described in the COR_PRF_MONITOR enumeration.

Remarks

Note

You should call the SetEventMask2 method instead of this method. Although the SetEventMask method continues to be supported, SetEventMask2 provides additional functionality.

Requirements

Platforms: See System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: [!INCLUDEnet_current_v20plus]

See also