नोट
इस पेज तक पहुँच के लिए प्रमाणन की आवश्यकता होती है. आप साइन इन करने या निर्देशिकाओं को बदलने का प्रयास कर सकते हैं.
इस पेज तक पहुँच के लिए प्रमाणन की आवश्यकता होती है. आप निर्देशिकाओं को बदलने का प्रयास कर सकते हैं.
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: Available since 2.0