When working with generic objects in a shared session environment, changes in one client propagate to all other clients as well. This invalidates all objects and triggers automatic fetching of the properties and layout the next time they are being accessed.
To synchronize this with your code, you can delay a possible invalidation until after you have made your changes to the generic object.
There are two ways to do this:
- With a using block
- Explicitly suspending and resuming layout
I hope this clarifies your doubt....