【问题标题】:WCF - Array or Collection (are they both interoperable)?WCF - 数组或集合(它们都是可互操作的)?
【发布时间】:2011-06-03 17:05:58
【问题描述】:

基本上,它们是可互操作的还是仅仅是数组?

【问题讨论】:

    标签: arrays wcf collections interop wcf-interoperability


    【解决方案1】:

    它们在 WSDL 中的投影方式相同,因此您可以在客户端中使用一个,在服务器中使用另一个而不会出现问题。就 WCF 而言,T[]、Collection 和 List 都被认为是“相同的”。

    【讨论】:

      猜你喜欢
      • 2010-10-03
      • 1970-01-01
      • 1970-01-01
      • 2021-02-04
      • 2010-10-16
      • 2011-06-06
      • 2010-12-17
      • 2014-03-23
      • 1970-01-01
      相关资源
      最近更新 更多