TaskAgentHttpClient.FinishAgentRequestAsync 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> FinishAgentRequestAsync(int poolId, long requestId, Guid lockToken, DateTime finishTime, Microsoft.TeamFoundation.DistributedTask.WebApi.TaskResult result, object userState = null, System.Threading.CancellationToken cancellationToken = null);
member this.FinishAgentRequestAsync : int * int64 * Guid * DateTime * Microsoft.TeamFoundation.DistributedTask.WebApi.TaskResult * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.DistributedTask.WebApi.TaskAgentJobRequest>
Parameters
- poolId
- Int32
- requestId
- Int64
- lockToken
- Guid
- finishTime
- DateTime
- result
- TaskResult
- userState
- Object
- cancellationToken
- CancellationToken