Edit

TestHttpClientBase.CreateTestPlanAsync Method

Definition

Overloads

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.

Returns

Applies to