Edit

Share via


WorkItemTrackingHttpClientBase.GetWorkItemTypeCategoriesAsync Method

Definition

Overloads

GetWorkItemTypeCategoriesAsync(Guid, Object, CancellationToken)

[Preview API] Get all work item type categories.

GetWorkItemTypeCategoriesAsync(String, Object, CancellationToken)

[Preview API] Get all work item type categories.

GetWorkItemTypeCategoriesAsync(Guid, Object, CancellationToken)

[Preview API] Get all work item type categories.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeCategory>> GetWorkItemTypeCategoriesAsync (Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetWorkItemTypeCategoriesAsync : Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeCategory>>
override this.GetWorkItemTypeCategoriesAsync : Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemTypeCategory>>

Parameters

project
Guid

Project ID

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetWorkItemTypeCategoriesAsync(String, Object, CancellationToken)

[Preview API] Get all work item type categories.

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

Parameters

project
String

Project ID or project name

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to