peter
peter

Reputation: 13491

Exception Error Codes in .NET

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.

Upvotes: 3

Views: 5591

Answers (2)

Grant Thomas
Grant Thomas

Reputation: 45083

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

Upvotes: 2

John Saunders
John Saunders

Reputation: 161773

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.

Upvotes: 12

Related Questions