Edit

Share via


WorkHttpClientBase.UpdatePlanAsync Method

Definition

Overloads

UpdatePlanAsync(UpdatePlan, Guid, String, Object, CancellationToken)

[Preview API] Update the information for the specified plan

UpdatePlanAsync(UpdatePlan, String, String, Object, CancellationToken)

[Preview API] Update the information for the specified plan

UpdatePlanAsync(UpdatePlan, Guid, String, Object, CancellationToken)

[Preview API] Update the information for the specified plan

public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.Work.WebApi.Plan> UpdatePlanAsync(Microsoft.TeamFoundation.Work.WebApi.UpdatePlan updatedPlan, Guid project, string id, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member UpdatePlanAsync : Microsoft.TeamFoundation.Work.WebApi.UpdatePlan * Guid * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Work.WebApi.Plan>
override this.UpdatePlanAsync : Microsoft.TeamFoundation.Work.WebApi.UpdatePlan * Guid * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Work.WebApi.Plan>

Parameters

updatedPlan
UpdatePlan

Plan definition to be updated

project
Guid

Project ID

id
String

Identifier of the plan

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

UpdatePlanAsync(UpdatePlan, String, String, Object, CancellationToken)

[Preview API] Update the information for the specified plan

public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.Work.WebApi.Plan> UpdatePlanAsync(Microsoft.TeamFoundation.Work.WebApi.UpdatePlan updatedPlan, string project, string id, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member UpdatePlanAsync : Microsoft.TeamFoundation.Work.WebApi.UpdatePlan * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Work.WebApi.Plan>
override this.UpdatePlanAsync : Microsoft.TeamFoundation.Work.WebApi.UpdatePlan * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Work.WebApi.Plan>

Parameters

updatedPlan
UpdatePlan

Plan definition to be updated

project
String

Project ID or project name

id
String

Identifier of the plan

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to