TeamHttpClientBase.UpdateTeamAsync 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] Update a team's name and/or description.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.Core.WebApi.WebApiTeam> UpdateTeamAsync(Microsoft.TeamFoundation.Core.WebApi.WebApiTeam teamData, string projectId, string teamId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member UpdateTeamAsync : Microsoft.TeamFoundation.Core.WebApi.WebApiTeam * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Core.WebApi.WebApiTeam>
override this.UpdateTeamAsync : Microsoft.TeamFoundation.Core.WebApi.WebApiTeam * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Core.WebApi.WebApiTeam>
Parameters
- teamData
- WebApiTeam
- projectId
- String
The name or ID (GUID) of the team project containing the team to update.
- teamId
- String
The name of ID of the team to update.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.