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

工作流活动

调用方法

System.Activities.Statements.InvokeMethod

Invoke Method calls a public method of a specified object or type — instance methods on a target object, or static methods on a target type — optionally passing arguments and returning a result.

项目兼容性

Windows - Legacy | Windows

配置

参数描述
TargetObjectThe object whose method is invoked. Used for instance methods. Leave empty when invoking a static method.
TargetTypeThe type whose static method is invoked. Used for static methods. Leave empty when invoking an instance method.
MethodNameThe name of the public method to invoke.
参数The collection of input and output arguments passed to the method, in the order required by the method signature.
GenericTypeArgumentsThe collection of generic type arguments for the method, when the method is generic.
结果The value returned by the method, when any.
RunAsynchronouslyWhen selected, the method is invoked asynchronously.

属性

常见

参数描述
显示名称活动的显示名称。

其他

参数描述
私有When selected, the values of variables and arguments are no longer logged at Verbose level.

此活动由 Microsoft 构建。如需了解更多信息,请参阅其官方文档

  • 项目兼容性
  • 配置
  • 属性
  • 常见
  • 其他

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新