Användning av typen Typnamn som en get-only-samling hanteras inte med NetDataContractSerializer. Markera typen med attributet CollectionDataContractAttribute eller attributet SerializableAttribute, eller lägg till en setter i egenskapen.
Click to search this error in Google
English version
The use of type 'Type Name' as a get-only collection is not supported with NetDataContractSerializer. Consider marking the type with the CollectionDataContractAttribute attribute or the SerializableAttribute attribute or adding a setter to the property.