WorkItemStore.GetWorkItem Method (Int32)

Gets the work item that has the specified ID.

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

public WorkItem GetWorkItem(
	int id
)

Parameters

id
Type: System.Int32

The work item ID.

Return Value

Type: Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem
The work item that has the specified ID.

ExceptionCondition
ArgumentNullException

The id was null.

This method returns the latest state of the work item.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft