WorkItemTrackingHttpClientBase.SearchQueriesAsync 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
SearchQueriesAsync(String, String, Nullable<Int32>, Nullable<QueryExpand>, Nullable<Boolean>, Object, CancellationToken) |
[Preview API] Searches all queries the user has access to in the current project |
SearchQueriesAsync(Guid, String, Nullable<Int32>, Nullable<QueryExpand>, Nullable<Boolean>, Object, CancellationToken) |
[Preview API] Searches all queries the user has access to in the current project |
SearchQueriesAsync(String, String, Nullable<Int32>, Nullable<QueryExpand>, Nullable<Boolean>, Object, CancellationToken)
[Preview API] Searches all queries the user has access to in the current project
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItemsResult> SearchQueriesAsync (string project, string filter, Nullable<int> top = null, Nullable<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryExpand> expand = null, Nullable<bool> includeDeleted = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member SearchQueriesAsync : string * string * Nullable<int> * Nullable<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryExpand> * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItemsResult>
override this.SearchQueriesAsync : string * string * Nullable<int> * Nullable<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryExpand> * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItemsResult>
Parameters
- project
- String
Project ID or project name
- filter
- String
The text to filter the queries with.
- expand
- Nullable<QueryExpand>
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
SearchQueriesAsync(Guid, String, Nullable<Int32>, Nullable<QueryExpand>, Nullable<Boolean>, Object, CancellationToken)
[Preview API] Searches all queries the user has access to in the current project
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItemsResult> SearchQueriesAsync (Guid project, string filter, Nullable<int> top = null, Nullable<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryExpand> expand = null, Nullable<bool> includeDeleted = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member SearchQueriesAsync : Guid * string * Nullable<int> * Nullable<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryExpand> * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItemsResult>
override this.SearchQueriesAsync : Guid * string * Nullable<int> * Nullable<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryExpand> * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItemsResult>
Parameters
- project
- Guid
Project ID
- filter
- String
The text to filter the queries with.
- expand
- Nullable<QueryExpand>
- 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