Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
'Declaration
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
- uri
Type: System.Uri
The URI of the work item.
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
- 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.