Edit

Share via


WorkHttpClientBase.GetTeamIterationsAsync Method

Definition

[Preview API] Get a team's iterations using timeframe filter

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

Parameters

teamContext
TeamContext

The team context for the operation

timeframe
String

A filter for which iterations are returned based on relative time. Only Current is supported currently.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to