Edit

TestHttpClientBase.GetTestSuitesForPlanAsync Method

Definition

Overloads

GetTestSuitesForPlanAsync(Guid, Int32, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Object, CancellationToken)

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestSuite>> GetTestSuitesForPlanAsync(Guid project, int planId, Nullable<int> expand = null, Nullable<int> skip = null, Nullable<int> top = null, Nullable<bool> asTreeView = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
override this.GetTestSuitesForPlanAsync : Guid * int * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestSuite>>

Parameters

project
Guid

Project ID

planId
Int32
expand
Nullable<Int32>
skip
Nullable<Int32>
asTreeView
Nullable<Boolean>
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetTestSuitesForPlanAsync(String, Int32, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Object, CancellationToken)

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestSuite>> GetTestSuitesForPlanAsync(string project, int planId, Nullable<int> expand = null, Nullable<int> skip = null, Nullable<int> top = null, Nullable<bool> asTreeView = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
override this.GetTestSuitesForPlanAsync : string * int * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestSuite>>

Parameters

project
String

Project ID or project name

planId
Int32
expand
Nullable<Int32>
skip
Nullable<Int32>
asTreeView
Nullable<Boolean>
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to