TestHttpClientBase.CreateTestPlanAsync 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
| CreateTestPlanAsync(PlanUpdateModel, Guid, Object, CancellationToken) | |
| CreateTestPlanAsync(PlanUpdateModel, String, Object, CancellationToken) |
CreateTestPlanAsync(PlanUpdateModel, Guid, Object, CancellationToken)
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestPlan> CreateTestPlanAsync(Microsoft.TeamFoundation.TestManagement.WebApi.PlanUpdateModel testPlan, Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member CreateTestPlanAsync : Microsoft.TeamFoundation.TestManagement.WebApi.PlanUpdateModel * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestPlan>
override this.CreateTestPlanAsync : Microsoft.TeamFoundation.TestManagement.WebApi.PlanUpdateModel * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestPlan>
Parameters
- testPlan
- PlanUpdateModel
- project
- Guid
Project ID
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
CreateTestPlanAsync(PlanUpdateModel, String, Object, CancellationToken)
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestPlan> CreateTestPlanAsync(Microsoft.TeamFoundation.TestManagement.WebApi.PlanUpdateModel testPlan, string project, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member CreateTestPlanAsync : Microsoft.TeamFoundation.TestManagement.WebApi.PlanUpdateModel * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestPlan>
override this.CreateTestPlanAsync : Microsoft.TeamFoundation.TestManagement.WebApi.PlanUpdateModel * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestPlan>
Parameters
- testPlan
- PlanUpdateModel
- project
- String
Project ID or project name
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.