Freigeben über


TestAndCategoryPair-Konstruktor (TestId, TestListCategoryId, Boolean, Boolean)

Initialisiert eine neue Instanz der TestAndCategoryPair-Klasse mit der bereitgestellten Test-ID und Kategorie-ID sowie dem bereitgestellten Indikator für einen fehlerhaften Link.

Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

'Declaration
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
)

Parameter

  • isBrokenLink
    Typ: System.Boolean
    true, wenn der Link zwischen dem Test und der Kategorie fehlerhaft ist.
  • isEnabled
    Typ: System.Boolean
    true, wenn der Link zwischen dem Test und der Kategorie aktiviert ist.

.NET Framework-Sicherheit

Siehe auch

Referenz

TestAndCategoryPair Klasse

TestAndCategoryPair-Überladung

Microsoft.VisualStudio.TestTools.Common-Namespace

TestId

TestListCategoryId