WorkHttpClientBase.GetPlanAsync 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
| GetPlanAsync(String, String, Object, CancellationToken) |
[Preview API] Get the information for the specified plan |
| GetPlanAsync(Guid, String, Object, CancellationToken) |
[Preview API] Get the information for the specified plan |
GetPlanAsync(String, String, Object, CancellationToken)
[Preview API] Get the information for the specified plan
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.Work.WebApi.Plan> GetPlanAsync(string project, string id, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPlanAsync : string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Work.WebApi.Plan>
override this.GetPlanAsync : string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Work.WebApi.Plan>
Parameters
- 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
GetPlanAsync(Guid, String, Object, CancellationToken)
[Preview API] Get the information for the specified plan
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.Work.WebApi.Plan> GetPlanAsync(Guid project, string id, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPlanAsync : Guid * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Work.WebApi.Plan>
override this.GetPlanAsync : Guid * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Work.WebApi.Plan>
Parameters
- project
- Guid
Project ID
- id
- String
Identifier of the plan
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.