WorkItemTrackingHttpClientCompatBase.GetWorkItemsForArtifactUrisAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This API is now deprecated.
[Preview API] Queries work items linked to a given list of artifact URI.
[System.Obsolete]
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ArtifactUriQueryResult> GetWorkItemsForArtifactUrisAsync (Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ArtifactUriQuery artifactUriQuery, object userState, System.Threading.CancellationToken cancellationToken);
abstract member GetWorkItemsForArtifactUrisAsync : Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ArtifactUriQuery * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ArtifactUriQueryResult>
override this.GetWorkItemsForArtifactUrisAsync : Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ArtifactUriQuery * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.ArtifactUriQueryResult>
Parameters
- artifactUriQuery
- ArtifactUriQuery
Defines a list of artifact URI for querying work items.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
- Attributes
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for