Edit

TaskAgentHttpClientBase.GetServiceEndpointTypesAsync Method

Definition

[Preview API]

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

Parameters

type
String
scheme
String
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to