Edit

TestCompatHttpClientBase.GetTestConfigurationsAsync Method

Definition

Overloads

GetTestConfigurationsAsync(Guid, Nullable<Int32>, Nullable<Int32>, String, Nullable<Boolean>, Object, CancellationToken)

Caution

This API is now deprecated.

[Preview API] Get a list of test configurations

[System.Obsolete]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestConfiguration>> GetTestConfigurationsAsync(Guid project, Nullable<int> skip = null, Nullable<int> top = null, string continuationToken = null, Nullable<bool> includeAllProperties = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetTestConfigurationsAsync : Guid * Nullable<int> * Nullable<int> * string * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestConfiguration>>
override this.GetTestConfigurationsAsync : Guid * Nullable<int> * Nullable<int> * string * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestConfiguration>>

Parameters

project
Guid

Project ID

skip
Nullable<Int32>

Number of test configurations to skip.

top
Nullable<Int32>

Number of test configurations to return.

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.

includeAllProperties
Nullable<Boolean>

If true, it returns all properties of the test configurations. Otherwise, it returns the skinny version.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Attributes

Applies to

GetTestConfigurationsAsync(String, Nullable<Int32>, Nullable<Int32>, String, Nullable<Boolean>, Object, CancellationToken)

Caution

This API is now deprecated.

[Preview API] Get a list of test configurations

[System.Obsolete]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestConfiguration>> GetTestConfigurationsAsync(string project, Nullable<int> skip = null, Nullable<int> top = null, string continuationToken = null, Nullable<bool> includeAllProperties = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetTestConfigurationsAsync : string * Nullable<int> * Nullable<int> * string * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestConfiguration>>
override this.GetTestConfigurationsAsync : string * Nullable<int> * Nullable<int> * string * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestConfiguration>>

Parameters

project
String

Project ID or project name

skip
Nullable<Int32>

Number of test configurations to skip.

top
Nullable<Int32>

Number of test configurations to return.

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.

includeAllProperties
Nullable<Boolean>

If true, it returns all properties of the test configurations. Otherwise, it returns the skinny version.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Attributes

Applies to