Skip to content

DurableTaskExtensions.Detached(DurableTask<TResult>, string)

Detached(DurableTask<TResult>, string)

staticextension
View source
public static ConfiguredDurableTask<TResult> Detached<TResult>(this DurableTask<TResult> task, string rootId)
Returns a configuration which starts the task as the independent root task rootId.

Parameters

taskDurableTask<TResult>
The definition to start, such as a durable grain call.
rootIdstring
The task's root identifier on its host, verbatim.

Exceptions

System.ArgumentException
rootId is null or empty.