开发者

Can child activities access the same workflow extensions as their parent activities?

I've got an extension that I add to WorkflowApplication.Extensions, the WorkflowApplication is poin开发者_运维知识库ting at a .xaml workflow (the parent) which calls another .xaml workflow (the child) during it's processing.

Question is; when I'm inside the the child .xaml workflow can I access said extension?

Get the feeling I'm missing something fundamental! :(

Thx


If the child is compiled and added as an activity to the main workflow it will see the same extensions.

If you start a new workflow, for example with the WorkflowInvoker, it will have it's own extensions. That said you can take extensions from the main workflow and add those to the child workflow as needed.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜