Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Design issue with NameObjectCollectionBase
Message
De
27/09/2010 14:27:46
 
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:
01482903
Message ID:
01482910
Vues:
46
>It sounds like you could just lock that section of code to keep it from running concurrently. In C# just wrap it in a lock { } statement. In VB.NET you'd use SyncLock (hope I have the syntax right), ex.
>
>
>Private LockObject as New Object
>
>SyncLock LockObject
>' Code here
>End SyncLock
>
That sounds cool. But, where exactly should I put that?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform