コード例 #1
0
        public override string Run(TaskContext context, string input)
        {
            string    message           = $"Activity function '{this.activityName}' does not exist.";
            Exception exceptionToReport = new FunctionFailedException(message);

            throw new TaskFailureException(
                      $"Activity function '{this.activityName}' failed: {exceptionToReport.Message}",
                      Utils.SerializeCause(exceptionToReport, this.config.ErrorDataConverter));
        }
コード例 #2
0
 public OrchestrationLog(FunctionFailedException ex)
 {
 }