WorkItemTrackingHttpClientBase.GetWorkItemsBatchAsync 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.
Overloads
GetWorkItemsBatchAsync(WorkItemBatchGetRequest, Object, CancellationToken) |
[Preview API] Gets work items for a list of work item ids (Maximum 200) |
GetWorkItemsBatchAsync(WorkItemBatchGetRequest, Guid, Object, CancellationToken) |
[Preview API] Gets work items for a list of work item ids (Maximum 200) |
GetWorkItemsBatchAsync(WorkItemBatchGetRequest, String, Object, CancellationToken) |
[Preview API] Gets work items for a list of work item ids (Maximum 200) |
GetWorkItemsBatchAsync(WorkItemBatchGetRequest, Object, CancellationToken)
[Preview API] Gets work items for a list of work item ids (Maximum 200)
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItem>> GetWorkItemsBatchAsync (Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemBatchGetRequest workItemGetRequest, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetWorkItemsBatchAsync : Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemBatchGetRequest * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItem>>
override this.GetWorkItemsBatchAsync : Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemBatchGetRequest * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItem>>
Parameters
- workItemGetRequest
- WorkItemBatchGetRequest
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetWorkItemsBatchAsync(WorkItemBatchGetRequest, Guid, Object, CancellationToken)
[Preview API] Gets work items for a list of work item ids (Maximum 200)
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItem>> GetWorkItemsBatchAsync (Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemBatchGetRequest workItemGetRequest, Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetWorkItemsBatchAsync : Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemBatchGetRequest * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItem>>
override this.GetWorkItemsBatchAsync : Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemBatchGetRequest * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItem>>
Parameters
- workItemGetRequest
- WorkItemBatchGetRequest
- project
- Guid
Project ID
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetWorkItemsBatchAsync(WorkItemBatchGetRequest, String, Object, CancellationToken)
[Preview API] Gets work items for a list of work item ids (Maximum 200)
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItem>> GetWorkItemsBatchAsync (Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemBatchGetRequest workItemGetRequest, string project, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetWorkItemsBatchAsync : Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemBatchGetRequest * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItem>>
override this.GetWorkItemsBatchAsync : Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemBatchGetRequest * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItem>>
Parameters
- workItemGetRequest
- WorkItemBatchGetRequest
- project
- String
Project ID or project name
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
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