TestHttpClientBase.GetTestRunsAsync 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
GetTestRunsAsync(Guid, String, String, String, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Object, CancellationToken)
[Preview API] Get a list of test runs.
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestRun>> GetTestRunsAsync(Guid project, string buildUri = null, string owner = null, string tmiRunId = null, Nullable<int> planId = null, Nullable<bool> includeRunDetails = null, Nullable<bool> automated = null, Nullable<int> skip = null, Nullable<int> top = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetTestRunsAsync : Guid * string * string * string * Nullable<int> * Nullable<bool> * Nullable<bool> * Nullable<int> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestRun>>
override this.GetTestRunsAsync : Guid * string * string * string * Nullable<int> * Nullable<bool> * Nullable<bool> * Nullable<int> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestRun>>
Parameters
- project
- Guid
Project ID
- buildUri
- String
URI of the build that the runs used.
- owner
- String
Team foundation ID of the owner of the runs.
- tmiRunId
- String
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetTestRunsAsync(String, String, String, String, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Object, CancellationToken)
[Preview API] Get a list of test runs.
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestRun>> GetTestRunsAsync(string project, string buildUri = null, string owner = null, string tmiRunId = null, Nullable<int> planId = null, Nullable<bool> includeRunDetails = null, Nullable<bool> automated = null, Nullable<int> skip = null, Nullable<int> top = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetTestRunsAsync : string * string * string * string * Nullable<int> * Nullable<bool> * Nullable<bool> * Nullable<int> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestRun>>
override this.GetTestRunsAsync : string * string * string * string * Nullable<int> * Nullable<bool> * Nullable<bool> * Nullable<int> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestRun>>
Parameters
- project
- String
Project ID or project name
- buildUri
- String
URI of the build that the runs used.
- owner
- String
Team foundation ID of the owner of the runs.
- tmiRunId
- String
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.