WorkItemTrackingHttpClientBase.GetWorkItemIconSvgAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[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
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.