Exception Error Codes in .NET

3

Is there a list of .NET Exception error codes around?

I get these error codes with a couple of HttpExceptions,

0x80070040
0x800703E3

And require to know the difference between the two errors.

c#
.net
asp.net
asked on Stack Overflow Apr 26, 2011 by peter • edited May 4, 2011 by John Saunders

2 Answers

12

Those are not .NET Exception Error codes. They are Windows HRESULT codes.

  • 0x80070040 is "The specified network name is no longer available."
  • 0x800703E3 is "The I/O operation has been aborted because of either a thread exit or an application request."

You can find these by using Tools->Error Lookup in Visual Studio.

answered on Stack Overflow Apr 26, 2011 by John Saunders
2

Here you go - these are in fact HRESULT error codes, which HttpException exposes.

answered on Stack Overflow Apr 26, 2011 by Grant Thomas

User contributions licensed under CC BY-SA 3.0