Condividi tramite


WorkItem Constructor

Initializes a new instance of the WorkItem class of the specified WorkItemType.

Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)

Syntax

'Dichiarazione
Public Sub New ( _
    type As WorkItemType _
)
public WorkItem(
    WorkItemType type
)
public:
WorkItem(
    WorkItemType^ type
)
new : 
        type:WorkItemType -> WorkItem
public function WorkItem(
    type : WorkItemType
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

Thrown when the type parameter is null.

.NET Framework Security

See Also

Reference

WorkItem Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace