WF4 - Composite custom activity throw an strange exception when using OutArgument
问题 I'm trying to use a composite custom activity that apply a regular expression and return a boolean if it match. The pattern is something encoded in design time. The source text is coming from an activity. This activity is also specified in design time (I've made a activity designer that allow to drop an activity as source) But I also need to return what sub string match the expression, so I added an OutArgument to retrieve the string that match, and the string captured. Here is the code: