Export (0) Print
Expand All

WorkItemAttribute Class

Use this attribute to specify a work item that is associated with a test.

Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in microsoft.visualstudio.qualitytools.webtestframework.dll)

[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple=true)] 
public sealed class WorkItemAttribute : Attribute
/** @attribute AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple=true) */ 
public final class WorkItemAttribute extends Attribute
AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple=true) 
public final class WorkItemAttribute extends Attribute

This attribute is used to link a test with a work item.

You can specify this attribute on a class. You can apply multiple instances of this attribute to a class.

For more information about how to use attributes, see Extending Metadata Using Attributes.

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

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

Community Additions

ADD
Show:
© 2014 Microsoft