Edit

TeamHttpClientBase.GetTeamAsync Method

Definition

[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.

Returns

Applies to