Edit

TestManagementHttpClient.GetTestRunsByQueryAsync Method

Definition

This API is deprecated at 2.3 version and is no more supported.

public System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestRun>> GetTestRunsByQueryAsync(Microsoft.TeamFoundation.TestManagement.WebApi.QueryModel query, string project, Nullable<bool> includeRunDetails = null, Nullable<int> skip = null, Nullable<int> top = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
member this.GetTestRunsByQueryAsync : Microsoft.TeamFoundation.TestManagement.WebApi.QueryModel * string * Nullable<bool> * Nullable<int> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestRun>>

Parameters

query
QueryModel
project
String

Project ID or project name

includeRunDetails
Nullable<Boolean>
skip
Nullable<Int32>
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to