Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Try Catch with Redirect
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01484070
Message ID:
01484147
Vues:
25
>I just discovered something weird. If you Try Catch a block of code which contains a Redirect, you end up with a Thread Abort error. Is this a logical validation inside .NET? I do not think I had that behavior before.

Thats always been the case. You can not redirect from a try because then the catch and final would never fire.

It's Time to get a gun.

That's what I've been thinkin.

I think I can afford one, If I do a little less Drinkin.

www.TrueGeeks.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform