什么是对-532459699的意义是什么?意义

由网友(你继续浪,我继续等)分享简介:这就是会返回一个退出code在许多.NET异常的一些(特别是COM例外,我认为)。This is a number that's returned as an exit code in many .NET exceptions (particularly COM exceptions, I think).In这个问题...

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

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

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".

阅读全文

相关推荐

最新文章