TestHttpClientBase.GetTestSuitesForPlanAsync 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.
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
- 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
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.