Information générale
Titre:
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.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement