WorkItemTrackingHttpClientBase.UpdateQueryAsync 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
UpdateQueryAsync(QueryHierarchyItem, Guid, String, Nullable<Boolean>, Object, CancellationToken) |
[Preview API] Update a query or a folder. This allows you to update, rename and move queries and folders. |
UpdateQueryAsync(QueryHierarchyItem, String, String, Nullable<Boolean>, Object, CancellationToken) |
[Preview API] Update a query or a folder. This allows you to update, rename and move queries and folders. |
UpdateQueryAsync(QueryHierarchyItem, Guid, String, Nullable<Boolean>, Object, CancellationToken)
[Preview API] Update a query or a folder. This allows you to update, rename and move queries and folders.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItem> UpdateQueryAsync (Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItem queryUpdate, Guid project, string query, Nullable<bool> undeleteDescendants = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member UpdateQueryAsync : Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItem * Guid * string * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItem>
override this.UpdateQueryAsync : Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItem * Guid * string * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItem>
Parameters
- queryUpdate
- QueryHierarchyItem
The query to update.
- project
- Guid
Project ID
- query
- String
The ID or path for the query to update.
Undelete the children of this folder. It is important to note that this will not bring back the permission changes that were previously applied to the descendants.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
UpdateQueryAsync(QueryHierarchyItem, String, String, Nullable<Boolean>, Object, CancellationToken)
[Preview API] Update a query or a folder. This allows you to update, rename and move queries and folders.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItem> UpdateQueryAsync (Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItem queryUpdate, string project, string query, Nullable<bool> undeleteDescendants = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member UpdateQueryAsync : Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItem * string * string * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItem>
override this.UpdateQueryAsync : Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItem * string * string * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.QueryHierarchyItem>
Parameters
- queryUpdate
- QueryHierarchyItem
The query to update.
- project
- String
Project ID or project name
- query
- String
The ID or path for the query to update.
Undelete the children of this folder. It is important to note that this will not bring back the permission changes that were previously applied to the descendants.
- 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