TestHttpClientBase.GetTestRunStatisticsAsync Method
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.
GetTestRunStatisticsAsync(String, Int32, Object, CancellationToken) |
[Preview API] Get test run statistics |
GetTestRunStatisticsAsync(Guid, Int32, Object, CancellationToken) |
[Preview API] Get test run statistics |
[Preview API] Get test run statistics
C#
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestRunStatistic> GetTestRunStatisticsAsync (string project, int runId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetTestRunStatisticsAsync : string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestRunStatistic>
override this.GetTestRunStatisticsAsync : string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestRunStatistic>
Parameters
- project
- String
Project ID or project name
- runId
- Int32
ID of the run to get.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
Azure DevOps Services .NET SDK latest ve Azure DevOps Services .NET SDK preview
Ürün | Sürümler |
---|---|
Azure DevOps Services .NET SDK | preview, latest |
[Preview API] Get test run statistics
C#
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestRunStatistic> GetTestRunStatisticsAsync (Guid project, int runId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetTestRunStatisticsAsync : Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestRunStatistic>
override this.GetTestRunStatisticsAsync : Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestRunStatistic>
Parameters
- project
- Guid
Project ID
- runId
- Int32
ID of the run to get.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
Azure DevOps Services .NET SDK latest ve Azure DevOps Services .NET SDK preview
Ürün | Sürümler |
---|---|
Azure DevOps Services .NET SDK | preview, latest |