TestAndCategoryPair – konstruktor (TestId, TestListCategoryId)
Inicializuje novou instanci TestAndCategoryPair třídy pomocí poskytnutého test ID a identifikátor kategorie.
Obor názvů: Microsoft.VisualStudio.TestTools.Common
Sestavení: Microsoft.VisualStudio.QualityTools.Common (v Microsoft.VisualStudio.QualityTools.Common.dll)
Syntaxe
'Deklarace
Public Sub New ( _
testId As TestId, _
categoryId As TestListCategoryId _
)
public TestAndCategoryPair(
TestId testId,
TestListCategoryId categoryId
)
public:
TestAndCategoryPair(
TestId^ testId,
TestListCategoryId^ categoryId
)
new :
testId:TestId *
categoryId:TestListCategoryId -> TestAndCategoryPair
public function TestAndCategoryPair(
testId : TestId,
categoryId : TestListCategoryId
)
Parametry
testId
Typ: Microsoft.VisualStudio.TestTools.Common.TestIdA TestId , identifikuje konkrétní test.
categoryId
Typ: Microsoft.VisualStudio.TestTools.Common.TestListCategoryIdA TestListCategoryId , které identifikují kategorii test.
Zabezpečení rozhraní .NET Framework
- Plná důvěra přímému volajícímu. Částečně zabezpečený kód nemůže tento člen použít. Další informace naleznete v tématu Používání knihoven z částečně důvěryhodného kódu.
Viz také
Referenční dokumentace
TestAndCategoryPair – přetížení