ayesha ahmad

ayesha ahmad

  • NA
  • 6
  • 8.2k

wcf [CollectionDataContract]class in .Netcompactframework3.5

Jul 19 2013 5:48 AM

I have developed wcf service in framework 4.5. In this service, I have made a class with attribute CollectionDataContract. When I add the web reference in .Net compact framework 3.5, it shows all the classese except class with attribute CollectionDataContract.

[CollectionDataContract]
public class ClsUsersCollection:Collection<ClsUsersBO>
{
}


//Reference added in .Net Compact Framework Smart Device Application
using SmartDeviceProject8.localhost;

localhost.ClsUsersCollection Not AVAILABLE rest all classes are AVAILABLE when we write localhost.ClsA or localhost.ClsB

Any solution will be highly appreciated!

Thanks.