WorkItemTrackingHttpClientBase.GetQueriesAsync 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
| GetQueriesAsync(Guid, Nullable<QueryExpand>, Nullable<Int32>, Nullable<Boolean>, Object, CancellationToken) |
[Preview API] Gets the root queries and their children |
| GetQueriesAsync(String, Nullable<QueryExpand>, Nullable<Int32>, Nullable<Boolean>, Object, CancellationToken) |
[Preview API] Gets the root queries and their children |
GetQueriesAsync(Guid, Nullable<QueryExpand>, Nullable<Int32>, Nullable<Boolean>, Object, CancellationToken)
[Preview API] Gets the root queries and their children
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItem>> GetQueriesAsync(Guid project, Nullable<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryExpand> expand = null, Nullable<int> depth = null, Nullable<bool> includeDeleted = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetQueriesAsync : Guid * Nullable<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryExpand> * Nullable<int> * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItem>>
override this.GetQueriesAsync : Guid * Nullable<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryExpand> * Nullable<int> * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItem>>
Parameters
- project
- Guid
Project ID
- expand
- Nullable<QueryExpand>
Include the query string (wiql), clauses, query result columns, and sort options in the results.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetQueriesAsync(String, Nullable<QueryExpand>, Nullable<Int32>, Nullable<Boolean>, Object, CancellationToken)
[Preview API] Gets the root queries and their children
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItem>> GetQueriesAsync(string project, Nullable<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryExpand> expand = null, Nullable<int> depth = null, Nullable<bool> includeDeleted = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetQueriesAsync : string * Nullable<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryExpand> * Nullable<int> * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItem>>
override this.GetQueriesAsync : string * Nullable<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryExpand> * Nullable<int> * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItem>>
Parameters
- project
- String
Project ID or project name
- expand
- Nullable<QueryExpand>
Include the query string (wiql), clauses, query result columns, and sort options in the results.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.