Pass the array list to the WCF application

后端 未结 2 1979
孤城傲影
孤城傲影 2021-01-24 07:37

I am new to WCF. I have a scenario where i have \"Error.

When i am trying to pass the arr

2条回答
  •  南方客
    南方客 (楼主)
    2021-01-24 08:06

    When you generate the Service reference, you should set the CollectionType to System.Collections.Arraylist - if you use the UI it's in the Advanced section, if you use svcutil.exe it's the /ct switch

    There's a lot more information in Collections in Data Contracts on MSDN

提交回复
热议问题