odd .net serialization problem
i an rare problem now i perplexing serialize an object. vigilant generated around "add use reference" web use (svcutil.exe).
the problem next ability (agencyid) being serialized rest object. out foolishness i commented ability next since "xmlignoreattribute" assigned... after i commented abandoned property, agencyid domain serialized expected.
can someone greatfully explain me since function occurred?
thanks!!
/// <remarks/>
[system.xml.serialization.xmlelementattribute(form=system.xml.schema.xmlschemaform.unqualified, order=1)]
open twine agencyid
{
{
relapse this.agencyidfield;
}
set {
this.agencyidfield = value;
this.raisepropertychanged("agencyid");
}
}
/// <remarks/>
[system.xml.serialization.xmlignoreattribute()]
open bool agencyidspecified
{
get
{
relapse this.agencyidfieldspecified;
}
set
{
this.agencyidfieldspecified = value;
this.raisepropertychanged("agencyidspecified");
}
}
Comments
Post a Comment