PlannerClient.GetTaskAsync(String, CancellationToken) 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.
Get a task
public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.Planner.Models.GetTaskResponse> GetTaskAsync(string taskId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetTaskAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Planner.Models.GetTaskResponse>
override this.GetTaskAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Planner.Models.GetTaskResponse>
Public Overridable Function GetTaskAsync (taskId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of GetTaskResponse)
Parameters
- taskId
- String
Task Id
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Get a task response.
Remarks
Get an existing Planner task.