Workflow Foundation 4 中的动态数据类型

发布于 2024-08-28 10:17:56 字数 46 浏览 0 评论 0原文

我可以在 WF 4.0 中使用动态数据类型吗?如果这是可能的那么我该怎么做呢?

Can I use dynamic data type in WF 4.0? And if this is possible then how can I do it?

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

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

发布评论

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

评论(1

浸婚纱 2024-09-04 10:17:56

当您在代码中创建活动或工作流扩展时,您可以使用动态数据类型,就像在 C# 中的任何其他地方一样。当在 XAML 工作流程中使用 VB 表达式时,则不能。尽管 VB 通过设置选项 strict off 具有大量动态功能,但在工作流程中无法做到这一点,并且所有表达式都是使用 set strict on 和 set Explicit on 进行编译的。

When you are creating activities or workflow extensions in code you can use dynamic data types just like in any other place in C#. When using VB expressions inside of a XAML workflow you can't. Even though VB has plenty of dynamic capabilities by setting option strict off there is no way to do that in a workflow and all expressions are compiled using set strict on and set explicit on.

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