TestCompatHttpClientBase.CreateTestSuiteAsync Method

Definition

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.

Overloads

CreateTestSuiteAsync(SuiteCreateModel, Guid, Int32, Int32, Object, CancellationToken)

Caution

This API is now deprecated.

[Preview API] Create a test suite.

C#
[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);

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)

CreateTestSuiteAsync(SuiteCreateModel, String, Int32, Int32, Object, CancellationToken)

Caution

This API is now deprecated.

[Preview API] Create a test suite.

C#
[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);

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)