TestCompatHttpClientBase.GetPlanByIdAsync Method
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.
GetPlanByIdAsync(Guid, Int32, Object, CancellationToken) |
Obsolete.
[Preview API] Get test plan by ID. |
GetPlanByIdAsync(String, Int32, Object, CancellationToken) |
Obsolete.
[Preview API] Get test plan by ID. |
Caution
This API is now deprecated.
[Preview API] Get test plan by ID.
[System.Obsolete]
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestPlan> GetPlanByIdAsync (Guid project, int planId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPlanByIdAsync : Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestPlan>
override this.GetPlanByIdAsync : Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestPlan>
Parameters
- project
- Guid
Project ID
- planId
- Int32
ID of the test plan to return.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
- Attributes
Applies to
Azure DevOps Services .NET SDK preview
Ürün | Sürümler (Kullanım dışı) |
---|---|
Azure DevOps Services .NET SDK | (preview) |
Caution
This API is now deprecated.
[Preview API] Get test plan by ID.
[System.Obsolete]
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestPlan> GetPlanByIdAsync (string project, int planId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPlanByIdAsync : string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestPlan>
override this.GetPlanByIdAsync : string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestPlan>
Parameters
- project
- String
Project ID or project name
- planId
- Int32
ID of the test plan to return.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
- Attributes
Applies to
Azure DevOps Services .NET SDK preview
Ürün | Sürümler (Kullanım dışı) |
---|---|
Azure DevOps Services .NET SDK | (preview) |