Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
Gets the current event categories for which the profiler wants to receive event notifications from the common language runtime (CLR).
Syntax
HRESULT GetEventMask(
[out] DWORD *pdwEvents);
Parameters
pdwEvents
[out] A pointer to 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 GetEventMask2 method instead of this method. Although the SetEventMask method continues to be supported, GetEventMask2 provides additional functionality.
Requirements
Platforms: See System Requirements.
Header: CorProf.idl, CorProf.h
Library: CorGuids.lib
.NET Framework Versions: Available since 2.0