TaskAgentHttpClientBase.GetVariableGroupAsync 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
| GetVariableGroupAsync(Guid, Int32, Object, CancellationToken) |
[Preview API] Get a variable group. |
| GetVariableGroupAsync(String, Int32, Object, CancellationToken) |
[Preview API] Get a variable group. |
GetVariableGroupAsync(Guid, Int32, Object, CancellationToken)
[Preview API] Get a variable group.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.DistributedTask.WebApi.VariableGroup> GetVariableGroupAsync(Guid project, int groupId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetVariableGroupAsync : Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.DistributedTask.WebApi.VariableGroup>
override this.GetVariableGroupAsync : Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.DistributedTask.WebApi.VariableGroup>
Parameters
- project
- Guid
Project ID
- groupId
- Int32
Id of the variable group.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetVariableGroupAsync(String, Int32, Object, CancellationToken)
[Preview API] Get a variable group.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.DistributedTask.WebApi.VariableGroup> GetVariableGroupAsync(string project, int groupId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetVariableGroupAsync : string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.DistributedTask.WebApi.VariableGroup>
override this.GetVariableGroupAsync : string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.DistributedTask.WebApi.VariableGroup>
Parameters
- project
- String
Project ID or project name
- groupId
- Int32
Id of the variable group.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.