TestCompatHttpClientBase.CreateTestSuiteAsync 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.
CreateTestSuiteAsync(SuiteCreateModel, Guid, Int32, Int32, Object, CancellationToken) |
Obsolete.
[Preview API] Create a test suite. |
CreateTestSuiteAsync(SuiteCreateModel, String, Int32, Int32, Object, CancellationToken) |
Obsolete.
[Preview API] Create a test suite. |
Caution
This API is now deprecated.
[Preview API] Create a test suite.
[System.Obsolete]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestSuite>> CreateTestSuiteAsync (Microsoft.TeamFoundation.TestManagement.WebApi.SuiteCreateModel testSuite, Guid project, int planId, int suiteId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member CreateTestSuiteAsync : Microsoft.TeamFoundation.TestManagement.WebApi.SuiteCreateModel * Guid * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestSuite>>
override this.CreateTestSuiteAsync : Microsoft.TeamFoundation.TestManagement.WebApi.SuiteCreateModel * Guid * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestSuite>>
Parameters
- testSuite
- SuiteCreateModel
Test suite data.
- project
- Guid
Project ID
- planId
- Int32
ID of the test plan that contains the suite.
- suiteId
- Int32
ID of the parent suite.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
- Attributes
Applies to
Azure DevOps Services .NET SDK preview
Ürün | Sürümler (Kullanım dışı) |
---|---|
Azure DevOps Services .NET SDK | (preview) |
Caution
This API is now deprecated.
[Preview API] Create a test suite.
[System.Obsolete]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestSuite>> CreateTestSuiteAsync (Microsoft.TeamFoundation.TestManagement.WebApi.SuiteCreateModel testSuite, string project, int planId, int suiteId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member CreateTestSuiteAsync : Microsoft.TeamFoundation.TestManagement.WebApi.SuiteCreateModel * string * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestSuite>>
override this.CreateTestSuiteAsync : Microsoft.TeamFoundation.TestManagement.WebApi.SuiteCreateModel * string * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestSuite>>
Parameters
- testSuite
- SuiteCreateModel
Test suite data.
- project
- String
Project ID or project name
- planId
- Int32
ID of the test plan that contains the suite.
- suiteId
- Int32
ID of the parent suite.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
- Attributes
Applies to
Azure DevOps Services .NET SDK preview
Ürün | Sürümler (Kullanım dışı) |
---|---|
Azure DevOps Services .NET SDK | (preview) |