TestCompatHttpClientBase.GetTestVariablesAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| GetTestVariablesAsync(Guid, Nullable<Int32>, Nullable<Int32>, Object, CancellationToken) |
Obsolete.
[Preview API] Get a list of test variables. |
| GetTestVariablesAsync(String, Nullable<Int32>, Nullable<Int32>, Object, CancellationToken) |
Obsolete.
[Preview API] Get a list of test variables. |
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
- 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
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
- Attributes