TestHttpClientBase.UpdateTestRunAsync 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.
UpdateTestRunAsync(RunUpdateModel, Guid, Int32, Object, CancellationToken) |
[Preview API] Update test run by its ID. |
UpdateTestRunAsync(RunUpdateModel, String, Int32, Object, CancellationToken) |
[Preview API] Update test run by its ID. |
[Preview API] Update test run by its ID.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestRun> UpdateTestRunAsync (Microsoft.TeamFoundation.TestManagement.WebApi.RunUpdateModel runUpdateModel, Guid project, int runId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member UpdateTestRunAsync : Microsoft.TeamFoundation.TestManagement.WebApi.RunUpdateModel * Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestRun>
override this.UpdateTestRunAsync : Microsoft.TeamFoundation.TestManagement.WebApi.RunUpdateModel * Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestRun>
Parameters
- runUpdateModel
- RunUpdateModel
Run details RunUpdateModel
- project
- Guid
Project ID
- runId
- Int32
ID of the run 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 run by its ID.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestRun> UpdateTestRunAsync (Microsoft.TeamFoundation.TestManagement.WebApi.RunUpdateModel runUpdateModel, string project, int runId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member UpdateTestRunAsync : Microsoft.TeamFoundation.TestManagement.WebApi.RunUpdateModel * string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestRun>
override this.UpdateTestRunAsync : Microsoft.TeamFoundation.TestManagement.WebApi.RunUpdateModel * string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestRun>
Parameters
- runUpdateModel
- RunUpdateModel
Run details RunUpdateModel
- project
- String
Project ID or project name
- runId
- Int32
ID of the run 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 |