继承工作流活动CallExternalMethodActivity [英] inherit Workflow activity CallExternalMethodActivity

查看:98
本文介绍了继承工作流活动CallExternalMethodActivity的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



CallExternalMethodActivity显示工具箱属性中的方法参数 - 参数。
但是当我继承CallExternalMethodActivity时,工具箱属性 - 参数消失。

code:public partial class ActivityUseCase:System.Workflow.Activities.CallExternalMethodActivity

如何继承此活动? (我想在活动中添加一名设计师)。

任何帮助表示赞赏,

Fedor

Hi,

The CallExternalMethodActivity shows the method parameters in the toolbox properties - parameters.
But when I inherit the CallExternalMethodActivity the toolbox properties - parameters disappear.

code:           public partial class ActivityUseCase : System.Workflow.Activities.CallExternalMethodActivity

How can I inherit this activity? (I want to add a designer to the activity).

Any help appreciated,

Fedor
 

推荐答案

该问题已解决?将方法绑定到活动时,可能需要浏览参数列表并为每个参数创建WorkflowParameterbinding,然后将它们添加到活动的ParameterBindings中。然后属性网格将显示它们。

Is that issue resolved? When you bind a method to your activity, you maybe need go through the parameter list and create WorkflowParameterbinding for each parameter, then add them into ParameterBindings of your activity. Then the property grid will show them.


这篇关于继承工作流活动CallExternalMethodActivity的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆