Edit

TestHttpClientBase.GetCodeCoverageSummaryAsync Method

Definition

Overloads

GetCodeCoverageSummaryAsync(String, Int32, Nullable<Int32>, Object, CancellationToken)

[Preview API] Get Code Coverage Summary for Build.

public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.CodeCoverageSummary> GetCodeCoverageSummaryAsync(string project, int buildId, Nullable<int> deltaBuildId = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetCodeCoverageSummaryAsync : string * int * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.CodeCoverageSummary>
override this.GetCodeCoverageSummaryAsync : string * int * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.CodeCoverageSummary>

Parameters

project
String

Project ID or project name

buildId
Int32

ID of the build for which code coverage data needs to be fetched.

deltaBuildId
Nullable<Int32>

Delta Build id (optional)

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetCodeCoverageSummaryAsync(Guid, Int32, Nullable<Int32>, Object, CancellationToken)

[Preview API] Get Code Coverage Summary for Build.

public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.CodeCoverageSummary> GetCodeCoverageSummaryAsync(Guid project, int buildId, Nullable<int> deltaBuildId = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetCodeCoverageSummaryAsync : Guid * int * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.CodeCoverageSummary>
override this.GetCodeCoverageSummaryAsync : Guid * int * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.CodeCoverageSummary>

Parameters

project
Guid

Project ID

buildId
Int32

ID of the build for which code coverage data needs to be fetched.

deltaBuildId
Nullable<Int32>

Delta Build id (optional)

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to