ScheduleAsync(DurableTask, CancellationToken)
staticextension
public static Task<ScheduledTask> ScheduleAsync(this DurableTask task, CancellationToken cancellationToken = default(CancellationToken)) Starts the task and returns its handle once the task's host has accepted and durably stored the task.
Parameters
taskDurableTask- A token which abandons the start. It doesn't cancel the task.
cancellationTokenCancellationToken
Returns
The task's handle, whose
ScheduledTask addresses the task.