diff --git a/src/Temporalio/Workflows/Workflow.cs b/src/Temporalio/Workflows/Workflow.cs index fc37e62..d21db64 100644 --- a/src/Temporalio/Workflows/Workflow.cs +++ b/src/Temporalio/Workflows/Workflow.cs @@ -663,6 +663,7 @@ public static async Task ExecuteChildWorkflowAsync( /// started. Use /// to check if it's a cancellation either way. /// + /// Throw if an ID is given in the options, but it is already running. This exception is stored into the returned task. public static async Task ExecuteChildWorkflowAsync( string workflow, IReadOnlyCollection args, ChildWorkflowOptions? options = null) { @@ -687,6 +688,7 @@ public static async Task ExecuteChildWorkflowAsync( /// started. Use /// to check if it's a cancellation either way. /// + /// Throw if an ID is given in the options, but it is already running. This exception is stored into the returned task. public static async Task ExecuteChildWorkflowAsync( string workflow, IReadOnlyCollection args, ChildWorkflowOptions? options = null) { @@ -1063,14 +1065,11 @@ public static Task RunTaskAsync( /// Workflow options. /// The child workflow handle once started. /// - /// The task can throw a if an ID - /// is given in the options but it is already running. - /// - /// /// Using an already-cancelled token may give a different exception than cancelling after /// started. Use /// to check if it's a cancellation either way. /// + /// Throw if an ID is given in the options, but it is already running. This exception is stored into the returned task. public static Task> StartChildWorkflowAsync( Expression>> workflowRunCall, ChildWorkflowOptions? options = null) @@ -1088,14 +1087,11 @@ public static Task> StartChildWorkflowAs /// Workflow options. /// The child workflow handle once started. /// - /// The task can throw a if an ID - /// is given in the options but it is already running. - /// - /// /// Using an already-cancelled token may give a different exception than cancelling after /// started. Use /// to check if it's a cancellation either way. /// + /// Throw if an ID is given in the options, but it is already running. This exception is stored into the returned task. public static async Task> StartChildWorkflowAsync( Expression> workflowRunCall, ChildWorkflowOptions? options = null) { @@ -1113,14 +1109,11 @@ public static async Task> StartChildWorkflowAsync /// Workflow options. /// The child workflow handle once started. /// - /// The task can throw a if an ID - /// is given in the options but it is already running. - /// - /// /// Using an already-cancelled token may give a different exception than cancelling after /// started. Use /// to check if it's a cancellation either way. /// + /// Throw if an ID is given in the options, but it is already running. This exception is stored into the returned task. public static async Task StartChildWorkflowAsync( string workflow, IReadOnlyCollection args, ChildWorkflowOptions? options = null) => await Context.StartChildWorkflowAsync(