Export (0) Print
Expand All

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)

public WorkItem(
	WorkItemType type
)

Parameters

type
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemType

The WorkItemType that describes the type of the work item.

ExceptionCondition
ArgumentNullException

Thrown when the type parameter is null.

For more information about how to use this method, see Create a Work Item By Using the Client Object Model for Team Foundation.

Show:
© 2014 Microsoft