Edit

Share via


WorkItemTrackingHttpClientBase.DeleteQueryAsync Method

Definition

Overloads

DeleteQueryAsync(Guid, String, Object, CancellationToken)

[Preview API] Delete a query or a folder. This deletes any permission change on the deleted query or folder and any of its descendants if it is a folder. It is important to note that the deleted permission changes cannot be recovered upon undeleting the query or folder.

DeleteQueryAsync(String, String, Object, CancellationToken)

[Preview API] Delete a query or a folder. This deletes any permission change on the deleted query or folder and any of its descendants if it is a folder. It is important to note that the deleted permission changes cannot be recovered upon undeleting the query or folder.

DeleteQueryAsync(Guid, String, Object, CancellationToken)

[Preview API] Delete a query or a folder. This deletes any permission change on the deleted query or folder and any of its descendants if it is a folder. It is important to note that the deleted permission changes cannot be recovered upon undeleting the query or folder.

public virtual System.Threading.Tasks.Task DeleteQueryAsync(Guid project, string query, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member DeleteQueryAsync : Guid * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeleteQueryAsync : Guid * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

project
Guid

Project ID

query
String

ID or path of the query or folder to delete.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

DeleteQueryAsync(String, String, Object, CancellationToken)

[Preview API] Delete a query or a folder. This deletes any permission change on the deleted query or folder and any of its descendants if it is a folder. It is important to note that the deleted permission changes cannot be recovered upon undeleting the query or folder.

public virtual System.Threading.Tasks.Task DeleteQueryAsync(string project, string query, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member DeleteQueryAsync : string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeleteQueryAsync : string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

project
String

Project ID or project name

query
String

ID or path of the query or folder to delete.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to