Edit

Share via


WorkHttpClientBase.GetCapacitiesAsync Method

Definition

[Preview API] Get a team's capacity

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Work.WebApi.TeamMemberCapacity>> GetCapacitiesAsync(Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, Guid iterationId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetCapacitiesAsync : Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Work.WebApi.TeamMemberCapacity>>
override this.GetCapacitiesAsync : Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Work.WebApi.TeamMemberCapacity>>

Parameters

teamContext
TeamContext

The team context for the operation

iterationId
Guid

ID of the iteration

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to