未找到工作流程 4.0 活动

发布于 2024-08-21 12:22:23 字数 655 浏览 5 评论 0原文

我正在开发 Visual Studio 2010 Beta2。

我正在创建一个新的工作流程项目。但在 New_Project_WorkFlow 下,未列出 .net Framework 4 的顺序活动工作流。

即使我选择工作流控制台应用程序,我也没有选项通过右键单击项目工具箱在 add -new 项目中添加顺序活动,

工具箱看起来有所不同与 VS2008.EventDriven.AddExternalevent 活动相比也看不到。(但是如果我选择 .net Framework 3.5,则这些活动可用)

我需要创建一个使用 clientOperation 活动消耗 Web 服务的顺序活动。但是客户端操作活动也不可用在 Console.readline 的 toolbox.same 中。

但网上给出的例子都提到了这些。我对VS2010 IDE很困惑。为什么我在我的 Vs2010 工具箱中找不到任何这些活动?我之前发布过类似的问题。但我认为这个问题并没有解释所有这些问题。

http://www.biztalkgurus.com/media/p/21915.aspx

这是我指的上述工作流程的网络广播。

I am working on Visual Studio 2010 Beta2.

I am creating a new workflow project. But under New_Project_WorkFlow the sequential activity workflow was not listed for .net framework 4.

And even if I choose workflow console application I don't have an option to add a sequential activity in add -new item by right clicking on the project

Toolbox looks different too compare to VS2008.EventDriven.AddExternalevent activities are not seen.(But these are available if I choose .net framework 3.5)

I need to create a sequential activity which consume a web service using the clientOperation activity.But client operation activity also not available in toolbox.same for Console.readline.

But the examples given in web mention all these. I am quite confused by VS2010 IDE. Why I can't find any of these activity in My Vs2010 toolbox? I posted a similar question earlier. But I think the qustion was not explaining all this problems.

http://www.biztalkgurus.com/media/p/21915.aspx

This is the webcast I am referring for above mentioned workflow.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

白云不回头 2024-08-28 12:22:23

根据您选择 Framework 3.5 还是 4.0,会有不同的设计体验和完全不同的框架类。为了

在 WF 4.0 中创建顺序工作流,请使用“序列”活动(在“控制流”中)工具箱组,方法是将其拖到新的活动。

为了在序列中使用 WCF Web 服务,最简单的方法可能是使用添加服务引用(右键单击项目,添加服务引用,构建)。

There are different designer experiences, and totally different framework classes depending on whether you select Framework 3.5 or 4.0

In order to create a sequential workflow in WF 4.0, use the Sequence activity (in the Control Flow) toolbox group, by dragging that into a new Activity.

In order to consume a WCF web service within your sequence, the easiest way may be using add service reference (right-click project, add service reference, build).

娇妻 2024-08-28 12:22:23

位于工具箱控制流组中的顺序活动

Sequential activity located in the Toolbox in Control Flow group

拒绝两难 2024-08-28 12:22:23

在 wf4 中,您不创建工作流程项目。
您创建其他项目来包含工作流程。

例如类库或控制台应用程序。

要创建序列工作流程:

右键单击项目并选择:添加|新商品 |工作流程|活动。

wf4中的所有工作流程都称为“活动”。

获得该活动文件(其扩展名为 .xaml)后,即可将其打开。
显示设计图面。

现在,您可以将工具箱(视图 | 工具箱)中的序列添加到设计图面。

In wf4 you don't create workflows projects.
You create other projects to contain the workflow.

For example Class library or Console Applications.

To create a Sequence workflow:

right click the project and select: Add | New Item | Workflow | Activity.

All workflows in wf4 are called Activity.

Once you have that Activity file (it has an .xaml extension), you open it.
The design surface is displayed.

Now you can add a Sequence from the Toolbox (View | Toolbox) to the design surface.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文