Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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.UriThe 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.