Edit

Share via


WorkItemTrackingHttpClientBase.GetRelationTypesAsync Method

Definition

[Preview API] Gets the work item relation types.

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

Parameters

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to