WorkItemAttribute Constructor
Initializes a new instance of the WorkItemAttribute class with an identification number.
Namespace: Microsoft.VisualStudio.TestTools.UnitTesting
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
Syntax
'Declaration
Public Sub New ( _
id As Integer _
)
public WorkItemAttribute(
int id
)
public:
WorkItemAttribute(
int id
)
new :
id:int -> WorkItemAttribute
public function WorkItemAttribute(
id : int
)
Parameters
- id
Type: System.Int32
The ID of the work item.
.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.