Edit

TestCompatHttpClientBase.CreateTestPlanAsync Method

Definition

Overloads

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

Applies to