WorkHttpClientBase.CreatePlanAsync 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
| CreatePlanAsync(CreatePlan, Guid, Object, CancellationToken) |
[Preview API] Add a new plan for the team |
| CreatePlanAsync(CreatePlan, String, Object, CancellationToken) |
[Preview API] Add a new plan for the team |
CreatePlanAsync(CreatePlan, Guid, Object, CancellationToken)
[Preview API] Add a new plan for the team
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.Work.WebApi.Plan> CreatePlanAsync(Microsoft.TeamFoundation.Work.WebApi.CreatePlan postedPlan, Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member CreatePlanAsync : Microsoft.TeamFoundation.Work.WebApi.CreatePlan * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Work.WebApi.Plan>
override this.CreatePlanAsync : Microsoft.TeamFoundation.Work.WebApi.CreatePlan * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Work.WebApi.Plan>
Parameters
- postedPlan
- CreatePlan
Plan definition
- project
- Guid
Project ID
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
CreatePlanAsync(CreatePlan, String, Object, CancellationToken)
[Preview API] Add a new plan for the team
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.Work.WebApi.Plan> CreatePlanAsync(Microsoft.TeamFoundation.Work.WebApi.CreatePlan postedPlan, string project, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member CreatePlanAsync : Microsoft.TeamFoundation.Work.WebApi.CreatePlan * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Work.WebApi.Plan>
override this.CreatePlanAsync : Microsoft.TeamFoundation.Work.WebApi.CreatePlan * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Work.WebApi.Plan>
Parameters
- postedPlan
- CreatePlan
Plan definition
- project
- String
Project ID or project name
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.