다음을 통해 공유


MarkerWriter.IsEnabled 메서드 (Int32)

 

게시 날짜: 2016년 7월

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

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

구문

public bool IsEnabled(
    int category
)
public:
bool IsEnabled(
    int category
)
member IsEnabled : 
        category:int -> bool
Public Function IsEnabled (
    category As Integer
) As Boolean

매개 변수

  • category
    Type: System.Int32

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

반환 값

Type: System.Boolean

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

참고 항목

IsEnabled 오버로드
MarkerWriter 클래스
Microsoft.ConcurrencyVisualizer.Instrumentation 네임스페이스

맨 위로 이동