sdk
latest
false
重要 :
请注意此内容已使用机器翻译进行了部分本地化。
UiPath logo, featuring letters U and I in white
开发者指南
Last updated 2024年10月25日

Type: Simple

Activity Creator



生成的代码

Simple activities extend the BaseAsyncCodeActivity, which simply runs a bit of execution logic and creates the kind of activity seen below. These types of activities do not contain any child activities.
using ...
namespace MyCompany.MyProduct.Activities
{
    [LocalizedDisplayName(nameof(Resources.Addition_DisplayName))]
    [LocalizedDescription(nameof(Resources.Addition_Description))]
    public class Addition : ContinuableAsyncCodeActivity
    {
      ...
    }
}using ...
namespace MyCompany.MyProduct.Activities
{
    [LocalizedDisplayName(nameof(Resources.Addition_DisplayName))]
    [LocalizedDescription(nameof(Resources.Addition_Description))]
    public class Addition : ContinuableAsyncCodeActivity
    {
      ...
    }
}

UiPath Studio 中的效果

简单活动可能会在其设计器中显示字段。 所有必需的输入属性都将添加到设计器中。



此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo White
信任与安全
© 2005-2024 UiPath。保留所有权利。