Edit

TestResultsHttpClientBase.GetTestRunCodeCoverageAsync Method

Definition

Overloads

GetTestRunCodeCoverageAsync(Guid, Int32, Int32, Object, CancellationToken)

[Preview API]

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestRunCoverage>> GetTestRunCodeCoverageAsync(Guid project, int runId, int flags, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetTestRunCodeCoverageAsync : Guid * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestRunCoverage>>
override this.GetTestRunCodeCoverageAsync : Guid * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestRunCoverage>>

Parameters

project
Guid

Project ID

runId
Int32
flags
Int32
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetTestRunCodeCoverageAsync(String, Int32, Int32, Object, CancellationToken)

[Preview API]

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestRunCoverage>> GetTestRunCodeCoverageAsync(string project, int runId, int flags, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetTestRunCodeCoverageAsync : string * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestRunCoverage>>
override this.GetTestRunCodeCoverageAsync : string * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestRunCoverage>>

Parameters

project
String

Project ID or project name

runId
Int32
flags
Int32
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to