Edit

TeamCompatHttpClientBase.GetTeamMembersAsync Method

Definition

Caution

Use GetTeamMembersWithExtendedPropertiesAsync method

[Preview API] Get a list of members for a specific team.

[System.Obsolete("Use GetTeamMembersWithExtendedPropertiesAsync method", false)]
public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Services.WebApi.IdentityRef>> GetTeamMembersAsync(string projectId, string teamId, Nullable<int> top, Nullable<int> skip, object userState, System.Threading.CancellationToken cancellationToken);
member this.GetTeamMembersAsync : string * string * Nullable<int> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.VisualStudio.Services.WebApi.IdentityRef>>

Parameters

projectId
String

The name or ID (GUID) of the team project the team belongs to.

teamId
String

The name or ID (GUID) of the team .

skip
Nullable<Int32>
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Task<IEnumerable<Microsoft.VisualStudio.Services.WebApi.IdentityRef>>
Attributes

Applies to