Partager via


WorkItemStore.GetWorkItem Method (Uri)

Gets the work item at the specified URI.

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

Syntax

'Déclaration
Public Function GetWorkItem ( _
    uri As Uri _
) As WorkItem
public WorkItem GetWorkItem(
    Uri uri
)
public:
WorkItem^ GetWorkItem(
    Uri^ uri
)
member GetWorkItem : 
        uri:Uri -> WorkItem 
public function GetWorkItem(
    uri : Uri
) : WorkItem

Parameters

Return Value

Type: Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem
The work item at the specified URI.

Exceptions

Exception Condition
ArgumentNullException

The uri parameter was null.

.NET Framework Security

See Also

Reference

WorkItemStore Class

GetWorkItem Overload

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace