TaskAgentHttpClient.QueueAgentRequestByPoolAsync 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.
public System.Threading.Tasks.Task<Microsoft.TeamFoundation.DistributedTask.WebApi.TaskAgentJobRequest> QueueAgentRequestByPoolAsync(int poolId, System.Collections.Generic.IList<Microsoft.TeamFoundation.DistributedTask.WebApi.Demand> demands, Guid serviceOwner, Guid hostId, Guid scopeIdentifier, string hubName, Guid planId, Guid jobId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
override this.QueueAgentRequestByPoolAsync : int * System.Collections.Generic.IList<Microsoft.TeamFoundation.DistributedTask.WebApi.Demand> * Guid * Guid * Guid * string * Guid * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.DistributedTask.WebApi.TaskAgentJobRequest>
Parameters
- poolId
- Int32
- serviceOwner
- Guid
- hostId
- Guid
- scopeIdentifier
- Guid
- hubName
- String
- planId
- Guid
- jobId
- Guid
- userState
- Object
- cancellationToken
- CancellationToken