Edit

Share via


WorkItemTrackingHttpClientBase.GetWorkItemTypeCategoryAsync Method

Definition

Overloads

GetWorkItemTypeCategoryAsync(Guid, String, Object, CancellationToken)

[Preview API] Get specific work item type category by name.

GetWorkItemTypeCategoryAsync(String, String, Object, CancellationToken)

[Preview API] Get specific work item type category by name.

GetWorkItemTypeCategoryAsync(Guid, String, Object, CancellationToken)

[Preview API] Get specific work item type category by name.

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

Parameters

project
Guid

Project ID

category
String

The category name

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetWorkItemTypeCategoryAsync(String, String, Object, CancellationToken)

[Preview API] Get specific work item type category by name.

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

Parameters

project
String

Project ID or project name

category
String

The category name

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to