EventKeywords 열거형

정의

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

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

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

필드

All -1

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

AuditFailure 4503599627370496

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

AuditSuccess 9007199254740992

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

CorrelationHint 4503599627370496

관련 작업 ID(상관 관계 ID)가 계산된 값이고 실제 GUID가 아니므로 고유하지 않을 수 있는 경우 전송 이벤트에 연결됩니다.

EventLogClassic 36028797018963968

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

MicrosoftTelemetry 562949953421312

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

None 0

이벤트를 게시할 때 키워드에 따라 필터링하지 않습니다.

Sqm 2251799813685248

모든 SQM(Service Quality Mechanism) 이벤트에 연결됩니다.

WdiContext 562949953421312

모든 WDI(Windows Diagnostic Infrastructure) 컨텍스트 이벤트에 연결됩니다.

WdiDiagnostic 1125899906842624

모든 WDI(Windows Diagnostic Infrastructure) 진단 이벤트에 연결됩니다.

예제

다음 예제에서는 클래스를 사용하여 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

설명

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

적용 대상