TestHttpClientBase.UpdateTestResultsAsync 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.
UpdateTestResultsAsync(TestCaseResult[], Guid, Int32, Object, CancellationToken) |
[Preview API] Update test results in a test run. |
UpdateTestResultsAsync(TestCaseResult[], String, Int32, Object, CancellationToken) |
[Preview API] Update test results in a test run. |
[Preview API] Update test results in a test run.
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestCaseResult>> UpdateTestResultsAsync (Microsoft.TeamFoundation.TestManagement.WebApi.TestCaseResult[] results, Guid project, int runId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member UpdateTestResultsAsync : Microsoft.TeamFoundation.TestManagement.WebApi.TestCaseResult[] * Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestCaseResult>>
override this.UpdateTestResultsAsync : Microsoft.TeamFoundation.TestManagement.WebApi.TestCaseResult[] * Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestCaseResult>>
Parameters
- results
- TestCaseResult[]
List of test results to update.
- project
- Guid
Project ID
- runId
- Int32
Test run ID whose test results to update.
- 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] Update test results in a test run.
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestCaseResult>> UpdateTestResultsAsync (Microsoft.TeamFoundation.TestManagement.WebApi.TestCaseResult[] results, string project, int runId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member UpdateTestResultsAsync : Microsoft.TeamFoundation.TestManagement.WebApi.TestCaseResult[] * string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestCaseResult>>
override this.UpdateTestResultsAsync : Microsoft.TeamFoundation.TestManagement.WebApi.TestCaseResult[] * string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestCaseResult>>
Parameters
- results
- TestCaseResult[]
List of test results to update.
- project
- String
Project ID or project name
- runId
- Int32
Test run ID whose test results to update.
- 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 |