开发者

WF - ActivityExecutionContext in While Activity

I have a SequentialActivity that also contains a WhileActivity. In the while activity I want to call开发者_如何学Python a method from a service - if it returns true I execute a delay activity, otherwise I continue with workflow execution, therefore I need to retrieve the service using the GetService method. How can I access the execution context from the code condition of the while activity? (WF 3.5)


You can't and will need to either create a custom activity or put the code in some other function that you can call from a VB expression.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜