EventKeywords 열거형

정의

이벤트에 적용되는 표준 키워드를 정의합니다.

이 열거형은 멤버 값의 비트 조합을 지원합니다.

public enum class EventKeywords
[System.Flags]
public enum EventKeywords
[<System.Flags>]
type EventKeywords = 
Public Enum EventKeywords
상속
EventKeywords
특성

필드

Name Description
All -1

모든 비트는 가능한 모든 이벤트 그룹을 나타내는 1로 설정됩니다.

None 0

이벤트가 게시될 때 키워드에 대한 필터링이 수행되지 않습니다.

MicrosoftTelemetry 562949953421312

모든 Microsoft 원격 분석 이벤트에 연결됩니다.

WdiContext 562949953421312

모든 Windows WDI(진단 인프라) 컨텍스트 이벤트에 연결됩니다.

WdiDiagnostic 1125899906842624

모든 Windows 진단 인프라(WDI) 진단 이벤트에 연결됩니다.

Sqm 2251799813685248

모든 SQM(서비스 품질 메커니즘) 이벤트에 연결됩니다.

AuditFailure 4503599627370496

실패한 모든 보안 감사 이벤트에 연결되었습니다. 이 키워드는 보안 로그의 이벤트에만 사용합니다.

CorrelationHint 4503599627370496

관련 활동 ID(상관 관계 ID)가 계산된 값이고 고유하지 않을 경우(즉, 실제 GUID가 아님) 이벤트를 전송하기 위해 연결됩니다.

AuditSuccess 9007199254740992

성공한 모든 보안 감사 이벤트에 연결됩니다. 이 키워드는 보안 로그의 이벤트에만 사용합니다.

EventLogClassic 36028797018963968

함수를 사용하여 RaiseEvent 발생하는 이벤트에 연결됩니다.

예제

다음 예제에서는 클래스를 EventKeywords 사용하여 이벤트 키워드를 재정의하는 방법을 보여 줍니다. 이 코드 예제는 EventSource 클래스에 제공된 더 큰 예제의 일부입니다.

public static class Keywords
{
    public const EventKeywords Page = (EventKeywords)1;
    public const EventKeywords DataBase = (EventKeywords)2;
    public const EventKeywords Diagnostic = (EventKeywords)4;
    public const EventKeywords Perf = (EventKeywords)8;
}
Public Class Keywords
    Public Const Page As EventKeywords = CType(1, EventKeywords)
    Public Const DataBase As EventKeywords = CType(2, EventKeywords)
    Public Const Diagnostic As EventKeywords = CType(4, EventKeywords)
    Public Const Perf As EventKeywords = CType(8, EventKeywords)
End Class

설명

플래그에 다른 이름을 할당하여 키워드의 의미를 사용자 지정할 수 있습니다.

적용 대상