StartTaskAsync(TaskId, DurableTask, DurableTaskStartOptions, CancellationToken)
abstract
protected internal abstract ValueTask<IScheduledTaskHandle> StartTaskAsync(TaskId taskId, DurableTask taskDefinition, DurableTaskStartOptions options, CancellationToken cancellationToken) Starts, or reattaches to,
taskDefinition under taskId, and records the start in this execution. Parameters
taskIdTaskId- A child of
DurableTaskContextfor an attached task, or the root identifier of aDurableTaskStartOptionstask. taskDefinitionDurableTask- The definition to start.
optionsDurableTaskStartOptions- How the task relates to this execution, and when the start completes.
cancellationTokenCancellationToken- A token which abandons the start. It doesn't cancel the task.
Returns
A handle through which this execution observes the task.
