TestManagementHttpClient.GetTestResultsByQueryAsync 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.
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
- userState
- Object
- cancellationToken
- CancellationToken