TeamHttpClientBase.CreateTeamAsync 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] Create a team in a team project.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.Core.WebApi.WebApiTeam> CreateTeamAsync(Microsoft.TeamFoundation.Core.WebApi.WebApiTeam team, string projectId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member CreateTeamAsync : Microsoft.TeamFoundation.Core.WebApi.WebApiTeam * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Core.WebApi.WebApiTeam>
override this.CreateTeamAsync : Microsoft.TeamFoundation.Core.WebApi.WebApiTeam * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Core.WebApi.WebApiTeam>
Parameters
- team
- WebApiTeam
The team data used to create the team.
- projectId
- String
The name or ID (GUID) of the team project in which to create the team.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.