Message in Finnish (suomi)
Kohteella <var>X</var>.<var>Y</var> ei ole OptionalFieldAttribute-merkintää, joten se ilmaisee, että se on sarjoitettava. Kohde <var>X</var> kuitenkin johdetaan luokasta, jolla on merkintä DataContractAttribute ja jonka IsReference-asetus on <var>Z</var>. IsReference-luokissa ei voi olla pakollisia tietojäseniä. Lisää kohteeseen <var>X</var>.<var>Y</var> OptionalFieldAttribute-merkintä tai poista IsReference-asetus käytöstä oikeassa pääluokassa.
Unlocalized message
'<var>X</var>.<var>Y</var>' is not marked with OptionalFieldAttribute, thus indicating that it must be serialized. However, '<var>X</var>' derives from a class marked with DataContractAttribute and an IsReference setting of '<var>Z</var>'. It is not possible to have required data members on IsReference classes. Either decorate '<var>X</var>.<var>Y</var>' with OptionalFieldAttribute, or disable the IsReference setting on the appropriate parent class.
Search by Google