Edit

TaskHttpClientBase.GetPlanAsync Method

Definition

[Preview API]

public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.DistributedTask.WebApi.TaskOrchestrationPlan> GetPlanAsync(Guid scopeIdentifier, string hubName, Guid planId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPlanAsync : Guid * string * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.DistributedTask.WebApi.TaskOrchestrationPlan>
override this.GetPlanAsync : Guid * string * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.DistributedTask.WebApi.TaskOrchestrationPlan>

Parameters

scopeIdentifier
Guid

The project GUID to scope the request

hubName
String

The name of the server hub: "build" for the Build server or "rm" for the Release Management server

planId
Guid
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to