(WF)

时间:2014-06-23 00:18:28   收藏:0   阅读:230

Caught: System.InvalidOperationException: The argument of type ‘XXX‘ cannot be used. Make sure that it is declared on an activity.
at System.Activities.Argument.ThrowIfNotInTree()
at System.Activities.OutArgument`1.Set(ActivityContext context, T value)

 

Reasoon: Check the parameters here... must be something mismatched or wrong. 

metadata.AddArgument(new RuntimeArgument("AAAA", typeof(BBB), CCC.Out));

(WF),布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!