Edit

Share via


WorkItemTrackingHttpClientBase.GetQueriesBatchAsync Method

Definition

Overloads

GetQueriesBatchAsync(QueryBatchGetRequest, Guid, Object, CancellationToken)

[Preview API] Gets a list of queries by ids (Maximum 1000)

GetQueriesBatchAsync(QueryBatchGetRequest, String, Object, CancellationToken)

[Preview API] Gets a list of queries by ids (Maximum 1000)

GetQueriesBatchAsync(QueryBatchGetRequest, Guid, Object, CancellationToken)

[Preview API] Gets a list of queries by ids (Maximum 1000)

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItem>> GetQueriesBatchAsync (Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryBatchGetRequest queryGetRequest, Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetQueriesBatchAsync : Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryBatchGetRequest * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItem>>
override this.GetQueriesBatchAsync : Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryBatchGetRequest * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItem>>

Parameters

queryGetRequest
QueryBatchGetRequest
project
Guid

Project ID

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetQueriesBatchAsync(QueryBatchGetRequest, String, Object, CancellationToken)

[Preview API] Gets a list of queries by ids (Maximum 1000)

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItem>> GetQueriesBatchAsync (Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryBatchGetRequest queryGetRequest, string project, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetQueriesBatchAsync : Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryBatchGetRequest * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItem>>
override this.GetQueriesBatchAsync : Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryBatchGetRequest * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItem>>

Parameters

queryGetRequest
QueryBatchGetRequest
project
String

Project ID or project name

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to