Language

IResourceStoreExtensions.GetQueue(IResourceStore, AgentQueueReference) Method

Definition

Retrieves an agent queue from the store using the provided reference.

public static Microsoft.TeamFoundation.DistributedTask.WebApi.TaskAgentQueue GetQueue(this Microsoft.TeamFoundation.DistributedTask.Pipelines.IResourceStore store, Microsoft.TeamFoundation.DistributedTask.Pipelines.AgentQueueReference reference);
static member GetQueue : Microsoft.TeamFoundation.DistributedTask.Pipelines.IResourceStore * Microsoft.TeamFoundation.DistributedTask.Pipelines.AgentQueueReference -> Microsoft.TeamFoundation.DistributedTask.WebApi.TaskAgentQueue
<Extension()>
Public Function GetQueue (store As IResourceStore, reference As AgentQueueReference) As TaskAgentQueue

Parameters

store
IResourceStore

The resource store which should be queried

reference
AgentQueueReference

The agent queue reference which should be resolved

Returns

A TaskAgentQueue instance matching the specified reference if found; otherwise, null

Applies to