即使在独立任务失败后如何 运行 从属任务?
How to run dependant tasks even after independent tasks failing?
我想知道是否有办法 运行 依赖任务,即使其他任务失败了。我找到了一种方法:
Default = new ExitOptions
{
DependencyAction = DependencyAction.Satisfy
}
当 class ExitOptions 在 Azure Batch dll 版本 5.0.0.0 中没有 属性 时出现问题。有人可以建议替代方案或具有 属性 的版本吗?
The problem arose when the class ExitOptions did not have the property in Azure Batch dll version 5.0.0.0.
您可以尝试将 Azure.Batch
的版本更新为 大于或等于 6.0.0.0。然后你就可以得到你想要的DependencyAction
属性
我想知道是否有办法 运行 依赖任务,即使其他任务失败了。我找到了一种方法:
Default = new ExitOptions
{
DependencyAction = DependencyAction.Satisfy
}
当 class ExitOptions 在 Azure Batch dll 版本 5.0.0.0 中没有 属性 时出现问题。有人可以建议替代方案或具有 属性 的版本吗?
The problem arose when the class ExitOptions did not have the property in Azure Batch dll version 5.0.0.0.
您可以尝试将 Azure.Batch
的版本更新为 大于或等于 6.0.0.0。然后你就可以得到你想要的DependencyAction
属性