简体   繁体   中英

i18n yellow screen of death

System.InvalidOperationException:Värdet null kan inte tilldelas en medlem av typen System.Boolean eftersom den är en värdetyp som inte kan ha värdet null.

Thank you Microsoft, intentions are good, I know. As if anybody who really finds this information useful would also consider Swedish as the coding lingua franca. The Moldavians can just turn to Moldavian StackOverflow and post their queries for speedy help.

Does anybody know how to get these messages in English?

The exception messages are controlled by the thread's culture. You can find some workaround suggestions here .

Google translate gives us:

The value null can not be awarded to a member of type System.Boolean because it is a value type that can not be null value.

Edit: Event though this translation is not perfect it gives us a good idea of the problem. Here is my transalatio nof the translation ;-)

The value null cannot be assigned to a member of type System.Boolean because it is a value type that cannot be a null value.

For the record, I think only the Nullable<> value type can be assigned a null value.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM