简体   繁体   中英

Dynamic data type in Workflow Foundation 4

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM