WorkHttpClientBase.GetCapacityAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[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.