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