Edit

Share via


WorkItemTrackingHttpClientBase.GetWorkItemTypeColorAndIconsAsync Method

Definition

[Preview API] INTERNAL ONLY: It is used for color and icon providers. 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.WorkItemTypeColorAndIcon>>>> GetWorkItemTypeColorAndIconsAsync (string[] projectNames, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetWorkItemTypeColorAndIconsAsync : 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.WorkItemTypeColorAndIcon>>>>
override this.GetWorkItemTypeColorAndIconsAsync : 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.WorkItemTypeColorAndIcon>>>>

Parameters

projectNames
String[]
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to