Edit

Share via


WorkHttpClientBase.GetPlansAsync Method

Definition

Overloads

GetPlansAsync(Guid, Object, CancellationToken)

[Preview API] Get the information for all the plans configured for the given team

GetPlansAsync(String, Object, CancellationToken)

[Preview API] Get the information for all the plans configured for the given team

GetPlansAsync(Guid, Object, CancellationToken)

[Preview API] Get the information for all the plans configured for the given team

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Work.WebApi.Plan>> GetPlansAsync(Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPlansAsync : Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Work.WebApi.Plan>>
override this.GetPlansAsync : Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Work.WebApi.Plan>>

Parameters

project
Guid

Project ID

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetPlansAsync(String, Object, CancellationToken)

[Preview API] Get the information for all the plans configured for the given team

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Work.WebApi.Plan>> GetPlansAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPlansAsync : string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Work.WebApi.Plan>>
override this.GetPlansAsync : string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Work.WebApi.Plan>>

Parameters

project
String

Project ID or project name

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to