Bearbeiten

Freigeben über


TaskAgentHttpClient.QueueAgentRequestByPoolAsync Method

Definition

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
demands
IList<Demand>
serviceOwner
Guid
hostId
Guid
scopeIdentifier
Guid
hubName
String
planId
Guid
jobId
Guid
userState
Object
cancellationToken
CancellationToken

Returns

Applies to