TestHttpClientBase.GetPointsAsync 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
| GetPointsAsync(String, Int32, Int32, String, String, String, String, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Object, CancellationToken) |
[Preview API] Get a list of test points. |
| GetPointsAsync(Guid, Int32, Int32, String, String, String, String, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Object, CancellationToken) |
[Preview API] Get a list of test points. |
GetPointsAsync(String, Int32, Int32, String, String, String, String, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Object, CancellationToken)
[Preview API] Get a list of test points.
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestPoint>> GetPointsAsync(string project, int planId, int suiteId, string witFields = null, string configurationId = null, string testCaseId = null, string testPointIds = null, Nullable<bool> includePointDetails = null, Nullable<int> skip = null, Nullable<int> top = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPointsAsync : string * int * int * string * string * string * string * Nullable<bool> * Nullable<int> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestPoint>>
override this.GetPointsAsync : string * int * int * string * string * string * string * Nullable<bool> * Nullable<int> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestPoint>>
Parameters
- project
- String
Project ID or project name
- planId
- Int32
ID of the test plan.
- suiteId
- Int32
ID of the suite that contains the points.
- witFields
- String
Comma-separated list of work item field names.
- configurationId
- String
Get test points for specific configuration.
- testCaseId
- String
Get test points for a specific test case, valid when configurationId is not set.
- testPointIds
- String
Get test points for comma-separated list of test point IDs, valid only when configurationId and testCaseId are not set.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetPointsAsync(Guid, Int32, Int32, String, String, String, String, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Object, CancellationToken)
[Preview API] Get a list of test points.
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestPoint>> GetPointsAsync(Guid project, int planId, int suiteId, string witFields = null, string configurationId = null, string testCaseId = null, string testPointIds = null, Nullable<bool> includePointDetails = null, Nullable<int> skip = null, Nullable<int> top = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPointsAsync : Guid * int * int * string * string * string * string * Nullable<bool> * Nullable<int> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestPoint>>
override this.GetPointsAsync : Guid * int * int * string * string * string * string * Nullable<bool> * Nullable<int> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestPoint>>
Parameters
- project
- Guid
Project ID
- planId
- Int32
ID of the test plan.
- suiteId
- Int32
ID of the suite that contains the points.
- witFields
- String
Comma-separated list of work item field names.
- configurationId
- String
Get test points for specific configuration.
- testCaseId
- String
Get test points for a specific test case, valid when configurationId is not set.
- testPointIds
- String
Get test points for comma-separated list of test point IDs, valid only when configurationId and testCaseId are not set.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.