Message in Chinese (Simplified) (中文(简体))

无法序列化类型 <var>Type Name</var> 中的成员 <var>Member</var>。此异常通常是由于尝试使用了不允许的 null 值而导致的。“<var>Member</var>”成员已设置为其默认值(通常为 null 或零)。该成员的 EmitDefault 设置为“False”,表示不应序列化该成员。但该成员的 IsRequired 设置为“True”,表示必须进行序列化。此冲突无法解决。可以考虑将“<var>Member</var>”设置为非默认值。或者,将 DataMemberAttribute 特性中的 EmitDefaultValue 属性更改为 True,或将 IsRequired 属性更改为 False。

Unlocalized message

Member <var>Member</var> in type <var>Type Name</var> cannot be serialized. This exception is usually caused by trying to use a null value where a null value is not allowed. The '<var>Member</var>' member is set to its default value (usually null or zero). The member's EmitDefault setting is 'false', indicating that the member should not be serialized. However, the member's IsRequired setting is 'true', indicating that it must be serialized. This conflict cannot be resolved. Consider setting '<var>Member</var>' to a non-default value. Alternatively, you can change the EmitDefaultValue property on the DataMemberAttribute attribute to true, or changing the IsRequired property to false.

Search by Google
Available localized messages
Arabic (العربية) Chinese (Simplified) (中文(简体)) Chinese (Traditional) (中文(繁體)) Hebrew (עברית) Hungarian (magyar) Italian (Italiano) Japanese (日本語) Korean (한국어) Prior (Message) Norwegian (Bokmal) (Norsk (Bokmål)) Czech (Čeština) Danish (Dansk) Dutch (Nederlands) Finnish (suomi) French (Français) German (Deutsch) Greek (Ελληνικά) Turkish (Türkçe) Next (Message) Polish (Polski) Portuguese (Brazil) (Português (Brasil)) Russian (Русский) Spanish (Español) Swedish (Svenska) Chinese (Traditional) (中文(繁體))