The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
EventKeywords Enumeration
.NET Framework 4.5
Defines the standard keywords that apply to events.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Namespace: System.Diagnostics.Tracing
Assembly: mscorlib (in mscorlib.dll)
| Member name | Description | |
|---|---|---|
![]() | None | No filtering on keywords is performed when the event is published. |
![]() | WdiContext | Attached to all Windows Diagnostics Infrastructure (WDI) context events. |
![]() | WdiDiagnostic | Attached to all Windows Diagnostics Infrastructure (WDI) diagnostic events. |
![]() | Sqm | Attached to all Service Quality Mechanism (SQM) events. |
![]() | AuditFailure | Attached to all failed security audit events. Use this keyword only for events in the security log. |
![]() | AuditSuccess | Attached to all successful security audit events. Use this keyword only for events in the security log. |
![]() | CorrelationHint | Attached to transfer events where the related activity ID (correlation ID) is a computed value and is not guaranteed to be unique (that is, it is not a real GUID). |
![]() | EventLogClassic | Attached to events that are raised by using the RaiseEvent function. |
The following example shows how to use the EventKeywords class to redefine event keywords. This code example is part of a larger example provided for the EventSource class.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

