TaskAgentHttpClientBase.GetAgentQueuesByNamesAsync 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
GetAgentQueuesByNamesAsync(IEnumerable<String>, Nullable<TaskAgentQueueActionFilter>, Object, CancellationToken)
[Preview API]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.TaskAgentQueue>> GetAgentQueuesByNamesAsync(System.Collections.Generic.IEnumerable<string> queueNames, Nullable<Microsoft.TeamFoundation.DistributedTask.WebApi.TaskAgentQueueActionFilter> actionFilter = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetAgentQueuesByNamesAsync : seq<string> * 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.GetAgentQueuesByNamesAsync : seq<string> * Nullable<Microsoft.TeamFoundation.DistributedTask.WebApi.TaskAgentQueueActionFilter> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.TaskAgentQueue>>
Parameters
- queueNames
- IEnumerable<String>
- actionFilter
- Nullable<TaskAgentQueueActionFilter>
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetAgentQueuesByNamesAsync(Guid, IEnumerable<String>, Nullable<TaskAgentQueueActionFilter>, Object, CancellationToken)
[Preview API]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.TaskAgentQueue>> GetAgentQueuesByNamesAsync(Guid project, System.Collections.Generic.IEnumerable<string> queueNames, Nullable<Microsoft.TeamFoundation.DistributedTask.WebApi.TaskAgentQueueActionFilter> actionFilter = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetAgentQueuesByNamesAsync : Guid * seq<string> * 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.GetAgentQueuesByNamesAsync : Guid * seq<string> * 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
- queueNames
- IEnumerable<String>
- actionFilter
- Nullable<TaskAgentQueueActionFilter>
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetAgentQueuesByNamesAsync(String, IEnumerable<String>, Nullable<TaskAgentQueueActionFilter>, Object, CancellationToken)
[Preview API]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.TaskAgentQueue>> GetAgentQueuesByNamesAsync(string project, System.Collections.Generic.IEnumerable<string> queueNames, Nullable<Microsoft.TeamFoundation.DistributedTask.WebApi.TaskAgentQueueActionFilter> actionFilter = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetAgentQueuesByNamesAsync : string * seq<string> * 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.GetAgentQueuesByNamesAsync : string * seq<string> * 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
- queueNames
- IEnumerable<String>
- actionFilter
- Nullable<TaskAgentQueueActionFilter>
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.