Edit

TestCompatHttpClientBase.GetTestVariablesAsync Method

Definition

Overloads

GetTestVariablesAsync(Guid, Nullable<Int32>, Nullable<Int32>, Object, CancellationToken)

Caution

This API is now deprecated.

[Preview API] Get a list of test variables.

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

Parameters

project
Guid

Project ID

skip
Nullable<Int32>

Number of test variables to skip.

top
Nullable<Int32>

Number of test variables to return.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Attributes

Applies to

GetTestVariablesAsync(String, Nullable<Int32>, Nullable<Int32>, Object, CancellationToken)

Caution

This API is now deprecated.

[Preview API] Get a list of test variables.

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

Parameters

project
String

Project ID or project name

skip
Nullable<Int32>

Number of test variables to skip.

top
Nullable<Int32>

Number of test variables to return.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Attributes

Applies to