TestCompatHttpClientBase.UpdateTestPlanAsync 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
| UpdateTestPlanAsync(PlanUpdateModel, Guid, Int32, Object, CancellationToken) |
Obsolete.
[Preview API] Update a test plan. |
| UpdateTestPlanAsync(PlanUpdateModel, String, Int32, Object, CancellationToken) |
Obsolete.
[Preview API] Update a test plan. |
UpdateTestPlanAsync(PlanUpdateModel, Guid, Int32, Object, CancellationToken)
Caution
This API is now deprecated.
[Preview API] Update a test plan.
[System.Obsolete]
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestPlan> UpdateTestPlanAsync(Microsoft.TeamFoundation.TestManagement.WebApi.PlanUpdateModel planUpdateModel, Guid project, int planId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member UpdateTestPlanAsync : Microsoft.TeamFoundation.TestManagement.WebApi.PlanUpdateModel * Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestPlan>
override this.UpdateTestPlanAsync : Microsoft.TeamFoundation.TestManagement.WebApi.PlanUpdateModel * Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestPlan>
Parameters
- planUpdateModel
- PlanUpdateModel
- 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
- Attributes
Applies to
UpdateTestPlanAsync(PlanUpdateModel, String, Int32, Object, CancellationToken)
Caution
This API is now deprecated.
[Preview API] Update a test plan.
[System.Obsolete]
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestPlan> UpdateTestPlanAsync(Microsoft.TeamFoundation.TestManagement.WebApi.PlanUpdateModel planUpdateModel, string project, int planId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member UpdateTestPlanAsync : Microsoft.TeamFoundation.TestManagement.WebApi.PlanUpdateModel * string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestPlan>
override this.UpdateTestPlanAsync : Microsoft.TeamFoundation.TestManagement.WebApi.PlanUpdateModel * string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestPlan>
Parameters
- planUpdateModel
- PlanUpdateModel
- 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
- Attributes