Edit

Share via


TestPlanHttpClientBase.GetTestVariablesAsync Method

Definition

Overloads

GetTestVariablesAsync(Guid, String, Object, CancellationToken)

[Preview API] Get a list of test variables.

GetTestVariablesAsync(String, String, Object, CancellationToken)

[Preview API] Get a list of test variables.

GetTestVariablesAsync(Guid, String, Object, CancellationToken)

[Preview API] Get a list of test variables.

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

Parameters

project
Guid

Project ID

continuationToken
String

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

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetTestVariablesAsync(String, String, Object, CancellationToken)

[Preview API] Get a list of test variables.

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

Parameters

project
String

Project ID or project name

continuationToken
String

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

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to