TaskAgentHttpClientBase.GetVariableGroupsByIdAsync 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
| GetVariableGroupsByIdAsync(Guid, IEnumerable<Int32>, Object, CancellationToken) |
[Preview API] Get variable groups by ids. |
| GetVariableGroupsByIdAsync(String, IEnumerable<Int32>, Object, CancellationToken) |
[Preview API] Get variable groups by ids. |
GetVariableGroupsByIdAsync(Guid, IEnumerable<Int32>, Object, CancellationToken)
[Preview API] Get variable groups by ids.
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.VariableGroup>> GetVariableGroupsByIdAsync(Guid project, System.Collections.Generic.IEnumerable<int> groupIds, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetVariableGroupsByIdAsync : Guid * seq<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.VariableGroup>>
override this.GetVariableGroupsByIdAsync : Guid * seq<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.VariableGroup>>
Parameters
- project
- Guid
Project ID
- groupIds
- IEnumerable<Int32>
Comma separated list of Ids of variable groups.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetVariableGroupsByIdAsync(String, IEnumerable<Int32>, Object, CancellationToken)
[Preview API] Get variable groups by ids.
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.VariableGroup>> GetVariableGroupsByIdAsync(string project, System.Collections.Generic.IEnumerable<int> groupIds, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetVariableGroupsByIdAsync : string * seq<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.VariableGroup>>
override this.GetVariableGroupsByIdAsync : string * seq<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.VariableGroup>>
Parameters
- project
- String
Project ID or project name
- groupIds
- IEnumerable<Int32>
Comma separated list of Ids of variable groups.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.