Код: Выделить всё
UnhandledException caught (SerializationException): Invalid enum value 'TestComplete' cannot be deserialized into type 'ConditionType'. Ensure that the necessary enum values are present and are marked with EnumMemberAttribute attribute if the type has DataContractAttribute attribute.
< /code>
Любые указатели о том, как это достичь, или как я могу зацепить /переопределить EnumdataContract < /p>
Мой член Enum отмечен ниже. < /p>
[DataMember]
public ConditionType Type { get; set; }
Подробнее здесь: https://stackoverflow.com/questions/783 ... ialisation
Мобильная версия