UiPath Documentation
activities
latest
false
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。
UiPath logo, featuring letters U and I in white

工作流活动

上次更新日期 2026年4月7日

取消作用域

System.Activities.Statements.CancellationScope

Associates a main path of execution with a cancellation handler. The Cancellation Scope has two sections where you can include the child activities: the Body and the CancellationHandler. Activities included in the Body section can only be canceled if they have not been completed.

If a cancellation request is scheduled and the activities in the Body have not completed, then the Cancellation Scope will be marked as Canceled and the CancellationHandleractivities will be executed.

在活动正文中

  • Body - Includes the activity that represents the main path of execution. This is the activity that might have to be canceled later.
  • CancellationHandler - Includes the activity that is to be executed in the event of cancellation.

属性

常见
  • DisplayName - The display name of the activity. This field supports only String variables.
其他
  • “私有”- 选中后将不再以“Verbose”级别记录变量和参数的值。
  • 在活动正文中
  • 属性

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新