Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Initializes a new instance of the TestCategoryAttribute class by applying the supplied category to the test.
Namespace: Microsoft.VisualStudio.TestTools.UnitTesting
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
Syntax
'Declaration
Public Sub New ( _
testCategory As String _
)
public TestCategoryAttribute(
string testCategory
)
public:
TestCategoryAttribute(
String^ testCategory
)
new :
testCategory:string -> TestCategoryAttribute
public function TestCategoryAttribute(
testCategory : String
)
Parameters
testCategory
Type: StringThe test category to be applied.
.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.