TestAndCategoryPair 생성자 (TestId, TestListCategoryId, Boolean, Boolean)

제공된 테스트 및 범주 ID와 끊어진 링크의 표시기를 사용하여 TestAndCategoryPair 클래스의 새 인스턴스를 초기화합니다.

네임스페이스:  Microsoft.VisualStudio.TestTools.Common
어셈블리:  Microsoft.VisualStudio.QualityTools.Common(Microsoft.VisualStudio.QualityTools.Common.dll)

구문

‘선언
Public Sub New ( _
    testId As TestId, _
    categoryId As TestListCategoryId, _
    isBrokenLink As Boolean, _
    isEnabled As Boolean _
)
public TestAndCategoryPair(
    TestId testId,
    TestListCategoryId categoryId,
    bool isBrokenLink,
    bool isEnabled
)
public:
TestAndCategoryPair(
    TestId^ testId, 
    TestListCategoryId^ categoryId, 
    bool isBrokenLink, 
    bool isEnabled
)
new : 
        testId:TestId * 
        categoryId:TestListCategoryId * 
        isBrokenLink:bool * 
        isEnabled:bool -> TestAndCategoryPair
public function TestAndCategoryPair(
    testId : TestId, 
    categoryId : TestListCategoryId, 
    isBrokenLink : boolean, 
    isEnabled : boolean
)

매개 변수

  • isBrokenLink
    형식: System.Boolean
    테스트와 범주 간의 링크가 끊어진 경우 true입니다.
  • isEnabled
    형식: System.Boolean
    테스트와 범주 간의 링크가 사용되는 경우 true입니다.

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

TestAndCategoryPair 클래스

TestAndCategoryPair 오버로드

Microsoft.VisualStudio.TestTools.Common 네임스페이스

TestId

TestListCategoryId