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