Language

TaskAgentHttpClientBase.GetAgentQueuesByIdsAsync Method

Definition

Overloads

GetAgentQueuesByIdsAsync(IEnumerable<Int32>, Nullable<TaskAgentQueueActionFilter>, Object, CancellationToken)

[Preview API]

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.TaskAgentQueue>> GetAgentQueuesByIdsAsync(System.Collections.Generic.IEnumerable<int> queueIds, Nullable<Microsoft.TeamFoundation.DistributedTask.WebApi.TaskAgentQueueActionFilter> actionFilter = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetAgentQueuesByIdsAsync : seq<int> * Nullable<Microsoft.TeamFoundation.DistributedTask.WebApi.TaskAgentQueueActionFilter> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.TaskAgentQueue>>
override this.GetAgentQueuesByIdsAsync : seq<int> * Nullable<Microsoft.TeamFoundation.DistributedTask.WebApi.TaskAgentQueueActionFilter> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.TaskAgentQueue>>

Parameters

queueIds
IEnumerable<Int32>
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetAgentQueuesByIdsAsync(Guid, IEnumerable<Int32>, Nullable<TaskAgentQueueActionFilter>, Object, CancellationToken)

[Preview API]

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.TaskAgentQueue>> GetAgentQueuesByIdsAsync(Guid project, System.Collections.Generic.IEnumerable<int> queueIds, Nullable<Microsoft.TeamFoundation.DistributedTask.WebApi.TaskAgentQueueActionFilter> actionFilter = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetAgentQueuesByIdsAsync : Guid * seq<int> * Nullable<Microsoft.TeamFoundation.DistributedTask.WebApi.TaskAgentQueueActionFilter> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.TaskAgentQueue>>
override this.GetAgentQueuesByIdsAsync : Guid * seq<int> * Nullable<Microsoft.TeamFoundation.DistributedTask.WebApi.TaskAgentQueueActionFilter> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.TaskAgentQueue>>

Parameters

project
Guid

Project ID

queueIds
IEnumerable<Int32>
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetAgentQueuesByIdsAsync(String, IEnumerable<Int32>, Nullable<TaskAgentQueueActionFilter>, Object, CancellationToken)

[Preview API]

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.TaskAgentQueue>> GetAgentQueuesByIdsAsync(string project, System.Collections.Generic.IEnumerable<int> queueIds, Nullable<Microsoft.TeamFoundation.DistributedTask.WebApi.TaskAgentQueueActionFilter> actionFilter = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetAgentQueuesByIdsAsync : string * seq<int> * Nullable<Microsoft.TeamFoundation.DistributedTask.WebApi.TaskAgentQueueActionFilter> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.TaskAgentQueue>>
override this.GetAgentQueuesByIdsAsync : string * seq<int> * Nullable<Microsoft.TeamFoundation.DistributedTask.WebApi.TaskAgentQueueActionFilter> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.TaskAgentQueue>>

Parameters

project
String

Project ID or project name

queueIds
IEnumerable<Int32>
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to