Edit

Share via


TestPlanHttpClientBase.UpdateTestPlanAsync Method

Definition

Overloads

UpdateTestPlanAsync(TestPlanUpdateParams, Guid, Int32, Object, CancellationToken)

[Preview API] Update a test plan.

UpdateTestPlanAsync(TestPlanUpdateParams, String, Int32, Object, CancellationToken)

[Preview API] Update a test plan.

UpdateTestPlanAsync(TestPlanUpdateParams, Guid, Int32, Object, CancellationToken)

[Preview API] Update a test plan.

public virtual System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestPlan> UpdateTestPlanAsync (Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestPlanUpdateParams testPlanUpdateParams, Guid project, int planId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member UpdateTestPlanAsync : Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestPlanUpdateParams * Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestPlan>
override this.UpdateTestPlanAsync : Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestPlanUpdateParams * Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestPlan>

Parameters

testPlanUpdateParams
TestPlanUpdateParams

A testPlanUpdateParams object.TestPlanUpdateParams

project
Guid

Project ID

planId
Int32

ID of the test plan to be updated.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

UpdateTestPlanAsync(TestPlanUpdateParams, String, Int32, Object, CancellationToken)

[Preview API] Update a test plan.

public virtual System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestPlan> UpdateTestPlanAsync (Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestPlanUpdateParams testPlanUpdateParams, string project, int planId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member UpdateTestPlanAsync : Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestPlanUpdateParams * string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestPlan>
override this.UpdateTestPlanAsync : Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestPlanUpdateParams * string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestPlan>

Parameters

testPlanUpdateParams
TestPlanUpdateParams

A testPlanUpdateParams object.TestPlanUpdateParams

project
String

Project ID or project name

planId
Int32

ID of the test plan to be updated.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to