Edit

TestHttpClientBase.GetTestResultsByBuildAsync Method

Definition

Overloads

GetTestResultsByBuildAsync(Guid, Int32, String, IEnumerable<TestOutcome>, Nullable<Int32>, String, Object, CancellationToken)

[Preview API]

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.ShallowTestCaseResult>> GetTestResultsByBuildAsync(Guid project, int buildId, string publishContext = null, System.Collections.Generic.IEnumerable<Microsoft.TeamFoundation.TestManagement.WebApi.TestOutcome> outcomes = null, Nullable<int> top = null, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetTestResultsByBuildAsync : Guid * int * string * seq<Microsoft.TeamFoundation.TestManagement.WebApi.TestOutcome> * Nullable<int> * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.ShallowTestCaseResult>>
override this.GetTestResultsByBuildAsync : Guid * int * string * seq<Microsoft.TeamFoundation.TestManagement.WebApi.TestOutcome> * Nullable<int> * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.ShallowTestCaseResult>>

Parameters

project
Guid

Project ID

buildId
Int32
publishContext
String
continuationToken
String
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetTestResultsByBuildAsync(String, Int32, String, IEnumerable<TestOutcome>, Nullable<Int32>, String, Object, CancellationToken)

[Preview API]

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.ShallowTestCaseResult>> GetTestResultsByBuildAsync(string project, int buildId, string publishContext = null, System.Collections.Generic.IEnumerable<Microsoft.TeamFoundation.TestManagement.WebApi.TestOutcome> outcomes = null, Nullable<int> top = null, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetTestResultsByBuildAsync : string * int * string * seq<Microsoft.TeamFoundation.TestManagement.WebApi.TestOutcome> * Nullable<int> * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.ShallowTestCaseResult>>
override this.GetTestResultsByBuildAsync : string * int * string * seq<Microsoft.TeamFoundation.TestManagement.WebApi.TestOutcome> * Nullable<int> * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.ShallowTestCaseResult>>

Parameters

project
String

Project ID or project name

buildId
Int32
publishContext
String
continuationToken
String
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to