Skip to content

DurableTaskExtensions.WithId(DurableTask<TResult>, string)

WithId(DurableTask<TResult>, string)

staticextension
View source
public static ConfiguredDurableTask<TResult> WithId<TResult>(this DurableTask<TResult> task, string name)
Returns a configuration which names the task.

Parameters

taskDurableTask<TResult>
The definition to start.
namestring
The task's name.