Language

TaskAgentHttpClientBase.GetAgentCloudsAsync(Object, CancellationToken) Method

Definition

[Preview API]

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.TaskAgentCloud>> GetAgentCloudsAsync(object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetAgentCloudsAsync : obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.TaskAgentCloud>>
override this.GetAgentCloudsAsync : obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.TaskAgentCloud>>

Parameters

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to