共用方式為


WorkItemStore.GetReferencingWorkItemUris Method

Gets an array of work item uniform resource identifiers (URIs) that point to the specified work item.

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

Syntax

'宣告
Public Function GetReferencingWorkItemUris ( _
    referencedUri As Uri _
) As Uri()
public Uri[] GetReferencingWorkItemUris(
    Uri referencedUri
)
public:
array<Uri^>^ GetReferencingWorkItemUris(
    Uri^ referencedUri
)
member GetReferencingWorkItemUris : 
        referencedUri:Uri -> Uri[] 
public function GetReferencingWorkItemUris(
    referencedUri : Uri
) : Uri[]

Parameters

  • referencedUri
    Type: System.Uri
    The work item from which to get an array of referencing work items.

Return Value

Type: array<System.Uri[]
An array of work item URIs that reference the work item that is specified by referencedUri.

Exceptions

Exception Condition
ArgumentNullException

The referencedUri parameter is null.

UriFormatException

The referencedUri parameter is incorrectly formatted. See Uri for examples of correct formatting.

.NET Framework Security

See Also

Reference

WorkItemStore Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace