Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error/Status codes in code behind the page
Message
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Error/Status codes in code behind the page
Miscellaneous
Thread ID:
01008575
Message ID:
01008575
Views:
66
To all,

I've spent a couple of hours trying to figure out how to get error status codes . I've got a book that gives the cryptic (and utterly useless) statement:

"[Error status] codes are exposed by the HTTPStatusCode property of the System.Net namespace."

It then lists a half-dozen codes and a non-existant URL for "an excellent discussion of status codes".

Hunting around in the .NET help and web site just pi$$ed me off even more.

So, could anyone give me a code snippet that shows HOW you get the error codes from the HTTPStatusCode property?

Regards,
Thom C.
Next
Reply
Map
View

Click here to load this message in the networking platform