Edit

TestHttpClientBase.UpdateTestRunAsync Method

Definition

Overloads

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

[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

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

[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