Edit

TestHttpClientBase.GetTestVariablesAsync Method

Definition

Overloads

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

[Preview API]

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>
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

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

[Preview API]

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>
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to