Share via


CssIterationAttribute Class

Represents the project iteration to which this test corresponds. This class cannot be inherited.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := False)> _
Public NotInheritable Class CssIterationAttribute _
    Inherits Attribute
'Usage
Dim instance As CssIterationAttribute
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false)]
public sealed class CssIterationAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = false)]
public ref class CssIterationAttribute sealed : public Attribute
public final class CssIterationAttribute extends Attribute

Remarks

Use this attribute to link a test with the project iteration. Marking a test with this attribute is useful for reporting test information corresponding to the stage of the project lifecycle.

You can specify this attribute on a class. You can apply only one instance of this attribute to a class.

For more information about using attributes, see Extending Metadata Using Attributes.

Inheritance Hierarchy

System.Object
  System.Attribute
    Microsoft.VisualStudio.TestTools.WebTesting.CssIterationAttribute

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

CssIterationAttribute Members

Microsoft.VisualStudio.TestTools.WebTesting Namespace

Other Resources

Setting Initial Project Areas or Iterations

How to: Enable Reporting of Test Results