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
- testId
Typ: Microsoft.VisualStudio.TestTools.Common.TestId
Eine TestId, die einen bestimmten Test identifiziert.
- categoryId
Typ: Microsoft.VisualStudio.TestTools.Common.TestListCategoryId
Eine TestListCategoryId, die eine Testkategorie identifiziert.
- 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
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.
Siehe auch
Referenz
TestAndCategoryPair-Überladung