Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 633
Sergej Andrejev Avatar asked Mar 11 '26 02:03

Sergej Andrejev


1 Answers

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.

like image 120
Maurice Avatar answered Mar 12 '26 17:03

Maurice