what does “CLR20r3” stand for? (what version of the clr is it)

有些话、适合烂在心里 提交于 2019-12-01 15:59:54
Hans Passant

That's a string that's baked into c:\windows\system32\wer.dll, the Windows Error Reporting support dll. It is hard-coded so you'd need to talk to the programmer to really know what it was supposed to mean. "Common Language Runtime version 2.0 revision 3" is a good a guess as any with otherwise no good hint what "revision 3" is supposed to mean. Probably an internal design document inside Microsoft.

You can get more info about the P1 through P10 values from this answer. Just make sure that it never gets this far, too much useful debugging info is lost by the time WER gets its hands on the crash. Write an event handler for AppDomain.CurrentDomain.UnhandledException and log or display the value of e.ExceptionObject.ToString(). Environment.Exit() to prevent WER from getting a sniff at it.

I guess if clr20r3 ever stood for a particular version of the CLR (or a minor release thereof) it doesn't any longer. A .NET 4.0 (CLR 4.0) process that ends with an uncaught exception or Environment.FailFast() produces the same token in the event data, visible in the windows event viewer.

Today, I would guess, it is just the event type used in Windows Error Reporting for the CLR as such.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!