Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

WorkItemStore.GetWorkItem Method (Uri, DateTime)

Gets the work item state from a specific time for viewing.

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

public WorkItem GetWorkItem(
	Uri uri,
	DateTime at
)

Parameters

uri
Type: System.Uri

The URI of the work item.

at
Type: System.DateTime

The date of the desired work item state.

Return Value

Type: Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem
The work item state from a specific time.

ExceptionCondition
ArgumentNullException

At least one parameter was null.

The work item is read-only unless the work item that is returned is the latest revision.

Show:
© 2015 Microsoft