码迷,mamicode.com
首页 > 其他好文 > 详细

(WF)

时间:2014-06-23 00:18:28      阅读:230      评论:0      收藏:0      [点我收藏+]

标签:tar   ext   set   cti   type   new   

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

(WF)

标签:tar   ext   set   cti   type   new   

原文地址:http://www.cnblogs.com/fdyang/p/3799992.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!