TestPlanHttpClientBase.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(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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for