开发者

Forcing English exception messages

开发者 https://www.devze.com 2022-12-16 23:58 出处:网络
When XML schema validation fails .Net throws some exception. Based on parsing this exception I know how to do some stuff. The problem is that this exception is localized, e.g. on a Japanese machine it

When XML schema validation fails .Net throws some exception. Based on parsing this exception I know how to do some stuff. The problem is that this exception is localized, e.g. on a Japanese machine it is in Japanese.

  • I do not want to build my application so it will parse every error in any language.

  • I am an add-in to some other system so I do not want to change the locale (unless something is totally cle开发者_开发知识库an).

Any ideas?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号