Edit

Share via


WorkItemTrackingHttpClientBase.GetWorkItemTypeColorsAsync Method

Definition

[Preview API] INTERNAL ONLY: It will be used for My account work experience. Get the wit type color for multiple projects

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<System.Collections.Generic.KeyValuePair<string,System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeColor>>>> GetWorkItemTypeColorsAsync (string[] projectNames, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetWorkItemTypeColorsAsync : string[] * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<System.Collections.Generic.KeyValuePair<string, System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeColor>>>>
override this.GetWorkItemTypeColorsAsync : string[] * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<System.Collections.Generic.KeyValuePair<string, System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeColor>>>>

Parameters

projectNames
String[]
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to