Bearbeiten

Freigeben über


TaskAgentHttpClientBase.GetVariableGroupAsync Method

Definition

Overloads

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.

Returns

Applies to