TestHttpClientBase.CloneTestSuiteAsync Method
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.
CloneTestSuiteAsync(TestSuiteCloneRequest, Guid, Int32, Int32, Object, CancellationToken) |
[Preview API] Clone test suite |
CloneTestSuiteAsync(TestSuiteCloneRequest, String, Int32, Int32, Object, CancellationToken) |
[Preview API] Clone test suite |
[Preview API] Clone test suite
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.CloneOperationInformation> CloneTestSuiteAsync (Microsoft.TeamFoundation.TestManagement.WebApi.TestSuiteCloneRequest cloneRequestBody, Guid project, int planId, int sourceSuiteId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member CloneTestSuiteAsync : Microsoft.TeamFoundation.TestManagement.WebApi.TestSuiteCloneRequest * Guid * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.CloneOperationInformation>
override this.CloneTestSuiteAsync : Microsoft.TeamFoundation.TestManagement.WebApi.TestSuiteCloneRequest * Guid * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.CloneOperationInformation>
Parameters
- cloneRequestBody
- TestSuiteCloneRequest
Suite Clone Request Body detail TestSuiteCloneRequest
- project
- Guid
Project ID
- planId
- Int32
ID of the test plan in which suite to be cloned is present
- sourceSuiteId
- Int32
ID of the test suite to be cloned
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
Azure DevOps Services .NET SDK latest ve Azure DevOps Services .NET SDK preview
Ürün | Sürümler |
---|---|
Azure DevOps Services .NET SDK | preview, latest |
[Preview API] Clone test suite
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.CloneOperationInformation> CloneTestSuiteAsync (Microsoft.TeamFoundation.TestManagement.WebApi.TestSuiteCloneRequest cloneRequestBody, string project, int planId, int sourceSuiteId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member CloneTestSuiteAsync : Microsoft.TeamFoundation.TestManagement.WebApi.TestSuiteCloneRequest * string * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.CloneOperationInformation>
override this.CloneTestSuiteAsync : Microsoft.TeamFoundation.TestManagement.WebApi.TestSuiteCloneRequest * string * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.CloneOperationInformation>
Parameters
- cloneRequestBody
- TestSuiteCloneRequest
Suite Clone Request Body detail TestSuiteCloneRequest
- project
- String
Project ID or project name
- planId
- Int32
ID of the test plan in which suite to be cloned is present
- sourceSuiteId
- Int32
ID of the test suite to be cloned
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
Azure DevOps Services .NET SDK latest ve Azure DevOps Services .NET SDK preview
Ürün | Sürümler |
---|---|
Azure DevOps Services .NET SDK | preview, latest |