Edit

Share via


TestPlanHttpClientBase.GetTestConfigurationsAsync Method

Definition

Overloads

GetTestConfigurationsAsync(Guid, String, Object, CancellationToken)

[Preview API] Get a list of test configurations.

GetTestConfigurationsAsync(String, String, Object, CancellationToken)

[Preview API] Get a list of test configurations.

GetTestConfigurationsAsync(Guid, String, Object, CancellationToken)

[Preview API] Get a list of test configurations.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestConfiguration>> GetTestConfigurationsAsync (Guid project, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetTestConfigurationsAsync : Guid * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestConfiguration>>
override this.GetTestConfigurationsAsync : Guid * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestConfiguration>>

Parameters

project
Guid

Project ID

continuationToken
String

If the list of configurations returned is not complete, a continuation token to query next batch of configurations is included in the response header as "x-ms-continuationtoken". Omit this parameter to get the first batch of test configurations.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetTestConfigurationsAsync(String, String, Object, CancellationToken)

[Preview API] Get a list of test configurations.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestConfiguration>> GetTestConfigurationsAsync (string project, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetTestConfigurationsAsync : string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestConfiguration>>
override this.GetTestConfigurationsAsync : string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.VisualStudio.Services.TestManagement.TestPlanning.WebApi.TestConfiguration>>

Parameters

project
String

Project ID or project name

continuationToken
String

If the list of configurations returned is not complete, a continuation token to query next batch of configurations is included in the response header as "x-ms-continuationtoken". Omit this parameter to get the first batch of test configurations.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to