public Hashtable Invoke()

in src/DurableSDK/OrchestrationInvoker.cs [21:42]


        public Hashtable Invoke(
            OrchestrationBindingInfo orchestrationBindingInfo,
            IPowerShellServices powerShellServices)
        {
            try
            {
                if (powerShellServices.HasExternalDurableSDK())
                {
                    return InvokeExternalDurableSDK(powerShellServices);
                }
                return InvokeInternalDurableSDK(orchestrationBindingInfo, powerShellServices);
            }
            catch (Exception ex)
            {
                ex.Data.Add(Utils.IsOrchestrationFailureKey, true);
                throw;
            }
            finally
            {
                powerShellServices.ClearStreamsAndCommands();
            }
        }