TestAndCategoryPair Constructor (TestId, TestListCategoryId, Boolean, Boolean)
Initializes a new instance of the TestAndCategoryPair class by using the provided test and category IDs and the indicator for a broken 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
)
Parameters
testId
Type: Microsoft.VisualStudio.TestTools.Common.TestIdA TestId that identifies a specific test.
categoryId
Type: Microsoft.VisualStudio.TestTools.Common.TestListCategoryIdA TestListCategoryId that identifies a test category.
isBrokenLink
Type: Booleantrue if the link between the test and category is broken.
isEnabled
Type: Booleantrue if the link between the test and the category is enabled.
.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.