Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
A list of artifact links that are paired with their referencing work items.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
'Declaration
Public Function GetWorkItemIdsForArtifactUris ( _
artifactUriList As String(), _
asOfDate As DateTime _
) As Dictionary(Of String, Integer())
public Dictionary<string, int[]> GetWorkItemIdsForArtifactUris(
string[] artifactUriList,
DateTime asOfDate
)
public:
Dictionary<String^, array<int>^>^ GetWorkItemIdsForArtifactUris(
array<String^>^ artifactUriList,
DateTime asOfDate
)
member GetWorkItemIdsForArtifactUris :
artifactUriList:string[] *
asOfDate:DateTime -> Dictionary<string, int[]>
public function GetWorkItemIdsForArtifactUris(
artifactUriList : String[],
asOfDate : DateTime
) : Dictionary<String, int[]>
Parameters
- artifactUriList
Type: array<System.String[]
An array of artifact links for which to retrieve work item IDs.
- asOfDate
Type: System.DateTime
A date at which to execute the request.
Return Value
Type: System.Collections.Generic.Dictionary<String, array<Int32[]>
A dictionary of work item URIs that reference the artifacts that are specified by artifactUriList.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | At least one parameter was null. |
| ArgumentException | The artifactUriList has zero length or one of the elements in the list is 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.