TestCompatHttpClientBase.GetPlanByIdAsync 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

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.

GetPlanByIdAsync(Guid, Int32, Object, CancellationToken)

Caution

This API is now deprecated.

[Preview API] Get test plan by ID.

C#
[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);

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)

GetPlanByIdAsync(String, Int32, Object, CancellationToken)

Caution

This API is now deprecated.

[Preview API] Get test plan by ID.

C#
[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);

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)