Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

Porblem Sa Serializacijom Custom Tipova U WinFX-u (Indigo)

[es] :: .NET :: Porblem Sa Serializacijom Custom Tipova U WinFX-u (Indigo)

[ Pregleda: 2987 | Odgovora: 0 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

Duly
Dusan Stanojevic
Beograd

Član broj: 17973
Poruke: 14
195.243.90.*



Profil

icon Porblem Sa Serializacijom Custom Tipova U WinFX-u (Indigo)22.05.2006. u 15:45 - pre 218 meseci
Ukoliko ste se petljali sa Indigom verovatno ste naisli na ovakav izuzetak:

"System.ServiceModel.CommunicationException was unhandled
Message="Error while trying to deserialize parameter http://tempuri.org/<i>Somme Custom Type</i> No type has DataContract 'http://schemas.datacontract.org/2004/07/<i>Somme Custom Type</i>'in element 'http://schemas.microsoft.com/2003/10/Serialization/Arrays:anyType'. Add the type corresponding to '<i>Somme Custom Type</i>' to the list of known types using KnownType attribute or KnownTypeCollection""

Kod klase sam stavio "DataContract" i "DataMember" atribute na odgovarajuca mesta.


Pomagajte
 
Odgovor na temu

[es] :: .NET :: Porblem Sa Serializacijom Custom Tipova U WinFX-u (Indigo)

[ Pregleda: 2987 | Odgovora: 0 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.