Edit

Share via


WorkHttpClientBase.GetCapacityAsync Method

Definition

[Preview API] Get a team member's capacity

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

Parameters

teamContext
TeamContext

The team context for the operation

iterationId
Guid

ID of the iteration

teamMemberId
Guid

ID of the team member

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to