General information
Title:
Error/Status codes in code behind the page
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only