WorkItemTrackingHttpClientBase.QueryByWiqlAsync 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
| QueryByWiqlAsync(Wiql, Nullable<Boolean>, Nullable<Int32>, Object, CancellationToken) |
[Preview API] Gets the results of the query given its WIQL. |
| QueryByWiqlAsync(Wiql, TeamContext, Nullable<Boolean>, Nullable<Int32>, Object, CancellationToken) |
[Preview API] Gets the results of the query given its WIQL. |
| QueryByWiqlAsync(Wiql, Guid, Nullable<Boolean>, Nullable<Int32>, Object, CancellationToken) |
[Preview API] Gets the results of the query given its WIQL. |
| QueryByWiqlAsync(Wiql, String, Nullable<Boolean>, Nullable<Int32>, Object, CancellationToken) |
[Preview API] Gets the results of the query given its WIQL. |
QueryByWiqlAsync(Wiql, Nullable<Boolean>, Nullable<Int32>, Object, CancellationToken)
[Preview API] Gets the results of the query given its WIQL.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemQueryResult> QueryByWiqlAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.Wiql wiql, Nullable<bool> timePrecision = null, Nullable<int> top = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member QueryByWiqlAsync : Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.Wiql * Nullable<bool> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemQueryResult>
override this.QueryByWiqlAsync : Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.Wiql * Nullable<bool> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemQueryResult>
Parameters
- wiql
- Wiql
The query containing the WIQL.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
QueryByWiqlAsync(Wiql, TeamContext, Nullable<Boolean>, Nullable<Int32>, Object, CancellationToken)
[Preview API] Gets the results of the query given its WIQL.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemQueryResult> QueryByWiqlAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.Wiql wiql, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, Nullable<bool> timePrecision = null, Nullable<int> top = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member QueryByWiqlAsync : Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.Wiql * Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext * Nullable<bool> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemQueryResult>
override this.QueryByWiqlAsync : Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.Wiql * Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext * Nullable<bool> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemQueryResult>
Parameters
- wiql
- Wiql
The query containing the WIQL.
- teamContext
- TeamContext
The team context for the operation
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
QueryByWiqlAsync(Wiql, Guid, Nullable<Boolean>, Nullable<Int32>, Object, CancellationToken)
[Preview API] Gets the results of the query given its WIQL.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemQueryResult> QueryByWiqlAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.Wiql wiql, Guid project, Nullable<bool> timePrecision = null, Nullable<int> top = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member QueryByWiqlAsync : Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.Wiql * Guid * Nullable<bool> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemQueryResult>
override this.QueryByWiqlAsync : Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.Wiql * Guid * Nullable<bool> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemQueryResult>
Parameters
- wiql
- Wiql
The query containing the WIQL.
- project
- Guid
Project ID
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
QueryByWiqlAsync(Wiql, String, Nullable<Boolean>, Nullable<Int32>, Object, CancellationToken)
[Preview API] Gets the results of the query given its WIQL.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemQueryResult> QueryByWiqlAsync(Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.Wiql wiql, string project, Nullable<bool> timePrecision = null, Nullable<int> top = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member QueryByWiqlAsync : Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.Wiql * string * Nullable<bool> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemQueryResult>
override this.QueryByWiqlAsync : Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.Wiql * string * Nullable<bool> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemQueryResult>
Parameters
- wiql
- Wiql
The query containing the WIQL.
- project
- String
Project ID or project name
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.