Markers.IsEnabled 메서드 (Importance, Int32)

세션에서 지정된 중요도 수준 및 범주의 표식 ETW 공급자를 사용할 수 있는지 여부를 확인합니다.

네임스페이스:  Microsoft.ConcurrencyVisualizer.Instrumentation
어셈블리:  Microsoft.ConcurrencyVisualizer.Markers(Microsoft.ConcurrencyVisualizer.Markers.dll)

구문

‘선언
Public Shared Function IsEnabled ( _
    level As Importance, _
    category As Integer _
) As Boolean
public static bool IsEnabled(
    Importance level,
    int category
)
public:
static bool IsEnabled(
    Importance level, 
    int category
)
static member IsEnabled : 
        level:Importance * 
        category:int -> bool
public static function IsEnabled(
    level : Importance, 
    category : int
) : boolean

매개 변수

  • category
    형식: Int32

    범위의 범주입니다. 모든 정수가 유효합니다.

반환 값

형식: Boolean
세션을 나타내려면 true이고, 그렇지 않으면 false입니다.

.NET Framework 보안

참고 항목

참조

Markers 클래스

IsEnabled 오버로드

Microsoft.ConcurrencyVisualizer.Instrumentation 네임스페이스