WorkHttpClientBase.GetTeamIterationsAsync 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'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.