This documentation is archived and is not being maintained.
WorkItemStore.GetWorkItem Method (Uri, Int32)
Visual Studio 2013
Gets the work item state from a specific revision for viewing.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
'Declaration Public Function GetWorkItem ( _ uri As Uri, _ revision As Integer _ ) As WorkItem
Parameters
- uri
- Type: System.Uri
The URI of the work item.
- revision
- Type: System.Int32
The work item revision number.
Return Value
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemThe work item state from a specific revision.
| Exception | Condition |
|---|---|
| ArgumentNullException | At least one parameter was null. |
- 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.
Show: