Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error/Status codes in code behind the page
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Error/Status codes in code behind the page
Divers
Thread ID:
01008575
Message ID:
01008575
Vues:
65
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
Fil
Voir

Click here to load this message in the networking platform