Edit

TestManagementHttpClient.GetTestResultsByQueryAsync Method

Definition

This API is deprecated at 2.3 version and is no more supported. Sends REST based msg to Server for getting TestCaseResult objects based on query, project, includeResultDetails, includeIterationDetails, skip, and top This method can be consumed in Post process.

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

Parameters

query
QueryModel
project
String

Project ID or project name

includeResultDetails
Nullable<Boolean>
includeIterationDetails
Nullable<Boolean>
skip
Nullable<Int32>
userState
Object
cancellationToken
CancellationToken

Returns

Applies to