Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
More on Using End Using
Message
De
03/05/2013 12:09:42
 
 
À
03/05/2013 11:59:14
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:
01572620
Message ID:
01572631
Vues:
34
>>As far as I know - The Dispose() will call the Close() -- hence you needn't call Close()
>
>You're right. This works. Thanks
>
>As far as the loFtpWebRequest, this one does not implement IDisposable. So, I don't think it could be simplified in the Using\End Using syntax.


Using/End Using is nothing but a try/finally that in the finally part calls Dispose() If the object is not null
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform