Share via


SwitchLevelAttribute(Type) 생성자

정의

SwitchLevelAttribute 클래스의 새 인스턴스를 초기화하고 추적 내용을 기록할지 여부를 결정하는 형식을 지정합니다.

public:
 SwitchLevelAttribute(Type ^ switchLevelType);
public SwitchLevelAttribute (Type switchLevelType);
new System.Diagnostics.SwitchLevelAttribute : Type -> System.Diagnostics.SwitchLevelAttribute
Public Sub New (switchLevelType As Type)

매개 변수

switchLevelType
Type

추적 내용을 기록할지 여부를 결정하는 Type입니다.

설명

매개 변수는 switchLevelType 추적을 작성해야 하는지 여부를 확인하기 위해 스위치에서 사용하는 형식을 식별합니다. 예를 들어 클래스의 LevelTraceSwitch 속성 형식은 입니다 TraceLevel.

적용 대상