Edit

Share via


WorkItemTrackingHttpClientBase.GetWorkItemIconSvgAsync Method

Definition

[Preview API] Get a work item icon given the friendly name and icon color.

public virtual System.Threading.Tasks.Task<System.IO.Stream> GetWorkItemIconSvgAsync (string icon, string color = null, Nullable<int> v = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetWorkItemIconSvgAsync : string * string * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.IO.Stream>
override this.GetWorkItemIconSvgAsync : string * string * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.IO.Stream>

Parameters

icon
String

The name of the icon

color
String

The 6-digit hex color for the icon

v
Nullable<Int32>

The version of the icon (used only for cache invalidation)

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to