Edit

TestHttpClientBase.CloneTestPlanAsync Method

Definition

Overloads

CloneTestPlanAsync(TestPlanCloneRequest, Guid, Int32, Object, CancellationToken)

[Preview API] Clone test plan

public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.CloneOperationInformation> CloneTestPlanAsync(Microsoft.TeamFoundation.TestManagement.WebApi.TestPlanCloneRequest cloneRequestBody, Guid project, int planId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member CloneTestPlanAsync : Microsoft.TeamFoundation.TestManagement.WebApi.TestPlanCloneRequest * Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.CloneOperationInformation>
override this.CloneTestPlanAsync : Microsoft.TeamFoundation.TestManagement.WebApi.TestPlanCloneRequest * Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.CloneOperationInformation>

Parameters

cloneRequestBody
TestPlanCloneRequest

Plan Clone Request Body detail TestPlanCloneRequest

project
Guid

Project ID

planId
Int32

ID of the test plan to be cloned.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

CloneTestPlanAsync(TestPlanCloneRequest, String, Int32, Object, CancellationToken)

[Preview API] Clone test plan

public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.CloneOperationInformation> CloneTestPlanAsync(Microsoft.TeamFoundation.TestManagement.WebApi.TestPlanCloneRequest cloneRequestBody, string project, int planId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member CloneTestPlanAsync : Microsoft.TeamFoundation.TestManagement.WebApi.TestPlanCloneRequest * string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.CloneOperationInformation>
override this.CloneTestPlanAsync : Microsoft.TeamFoundation.TestManagement.WebApi.TestPlanCloneRequest * string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.CloneOperationInformation>

Parameters

cloneRequestBody
TestPlanCloneRequest

Plan Clone Request Body detail TestPlanCloneRequest

project
String

Project ID or project name

planId
Int32

ID of the test plan to be cloned.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to