Message in Hebrew (עברית)
אין אפשרות לבצע עריכה בסידרה של החבר <var>Member</var> בסוג <var>Type Name</var>. חריגה זו נגרמת בדרך כלל מניסיון להשתמש בערך null כאשר אין אפשרות להשתמש בערך null. החבר '<var>Member</var>' מוגדר לערך ברירת המחדל שלו (בדרך כלל null או אפס). ההגדרה EmitDefault של החבר היא 'False', ומצביעה על כך שאין לבצע עריכה בסידרה של החבר. עם זאת, ההגדרה IsRequired של החבר היא 'True', ומצביעה על כך שיש לבצע בו עריכה בסידרה. אין אפשרות לפתור קונפליקט זה. שקול להגדיר את '<var>Member</var>' לערך שאינו ברירת מחדל. לחלופין, באפשרותך לשנות את המאפיין EmitDefaultValue בתכונה DataMemberAttribute ל-'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