TestHttpClientBase.UpdateTestRunAsync Method

Definition

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.

Overloads

UpdateTestRunAsync(RunUpdateModel, Guid, Int32, Object, CancellationToken)

[Preview API] Update test run by its ID.

C#
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);

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

UpdateTestRunAsync(RunUpdateModel, String, Int32, Object, CancellationToken)

[Preview API] Update test run by its ID.

C#
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);

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