silverlight中WCF不能传递List<string>
2020-11-22 18:31
标签:blog string 2014 http cti com window .net 不同的 new view
SL:
List
ServiceReference1.Service1Client myClient = new
Service1Client();
myClient.MakeOrderAsync(Dishes);
WEB:
[OperationContract]
public Boolean MakeOrder(List
{
...
return
true;
}
提示:
错误 6 与“OrderingDishs.ServiceReference1.Service1Client.MakeOrderAsync(System.Collections.ObjectModel.ObservableCollection
错误 7 参数 1:
无法从“System.Collections.Generic.List
这是因为SL的WEB服务端.net CLR和客户端.net是两个不同的框架,解决:
silverlight中WCF不能传递List
标签:blog string 2014 http cti com window .net 不同的 new view
原文地址:http://www.cnblogs.com/aswordok/p/3702753.html
下一篇:C++ 类型转换
文章标题:silverlight中WCF不能传递List<string>
文章链接:http://soscw.com/index.php/essay/22121.html