TestAndCategoryPair Constructor (TestId, TestListCategoryId)
Initializes a new instance of the TestAndCategoryPair class by using the provided test ID and category ID.
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 _
)
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
)
Parameters
- testId
Type: Microsoft.VisualStudio.TestTools.Common.TestId
A TestId that identifies a specific test.
- categoryId
Type: Microsoft.VisualStudio.TestTools.Common.TestListCategoryId
A TestListCategoryId that identifies a test category.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.