GetDurableTask(IAddressable, string)
staticextension
public static DurableTaskReference<TResult> GetDurableTask<TResult>(this IAddressable target, string rootId) Gets a reference to the existing root durable task
rootId on target, without scheduling it. Parameters
targetIAddressable- The grain which owns the durable task, which can be the calling grain.
rootIdstring- The root ID of a task which a client, a grain, or a durable execution started.
Returns
A reference which behaves as
DurableTaskGrainExtensions describes.Exceptions
System.ArgumentNullExceptiontargetisnull.System.ArgumentExceptionrootIdis empty or whitespace.
