TestCompatHttpClientBase.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) |
Obsolete.
[Preview API] Create a test plan. |
| CreateTestPlanAsync(PlanUpdateModel, String, Object, CancellationToken) |
Obsolete.
[Preview API] Create a test plan. |
CreateTestPlanAsync(PlanUpdateModel, Guid, Object, CancellationToken)
Caution
This API is now deprecated.
[Preview API] Create a test plan.
[System.Obsolete]
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
A test plan object.
- project
- Guid
Project ID
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
- Attributes
Applies to
CreateTestPlanAsync(PlanUpdateModel, String, Object, CancellationToken)
Caution
This API is now deprecated.
[Preview API] Create a test plan.
[System.Obsolete]
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
A test plan object.
- project
- String
Project ID or project name
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
- Attributes