什么是对-532459699的意义是什么? [英] What's the significance of -532459699?

查看:156
本文介绍了什么是对-532459699的意义是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这就是会返回一个退出code在许多.NET异常的一些(特别是COM例外,我认为)。

This is a number that's returned as an exit code in many .NET exceptions (particularly COM exceptions, I think).

<一个href="http://stackoverflow.com/questions/1935166/what-is-the-x$c$c-field-of-the-net-exception-type">In这个问题有人用反射地发现,这个值被初始化为私有变量在几乎所有异常的构造。

In this question someone used Reflector to find out that this value was initialized to a private variable in nearly every Exception constructor.

我的问题是,为什么呢?确实这个数字有什么意义呢?很难相信,这是任意选择。我甚至不看任何数字的意义(例如,在它的二进制或十六进制再presentation)。

My question is, why? What significance does this number have? It's hard to believe that it was chosen arbitrarily. I don't even see any numeric significance (e.g., in its binary or hex representation).

推荐答案

你有没有留意它的十六进制再presentation, E0434F4D ?这里有一个简要说明:

Did you pay attention to its hex representation, E0434F4D? Here's a brief synopsis:


E0 - represents E
43 - ASCII for C
4F - ASCII for O
4D - ASCII for M

因此​​,它是 ECOM ,或从COM异常。

So it's ECOM, or "exception from COM".

这篇关于什么是对-532459699的意义是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆