TestClassAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This attribute is used to mark test classes.
public ref class TestClassAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)]
public class TestClassAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class)]
public class TestClassAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)]
[System.Serializable]
public sealed class TestClassAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)>]
type TestClassAttribute = class
inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
type TestClassAttribute = class
inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)>]
[<System.Serializable>]
type TestClassAttribute = class
inherit Attribute
Public Class TestClassAttribute
Inherits Attribute
Public NotInheritable Class TestClassAttribute
Inherits Attribute
- Inheritance
-
TestClassAttribute
- Derived
- Attributes
Remarks
Test classes must be:
Constructors
TestClassAttribute() |
Methods
GetTestMethodAttribute() |
Gets a test method attribute that enables running this test. |