Calling Dispose method on Catalog objects

Nov 16, 2010 at 8:35 AM

Hello,

I am using AggregateCatalog and CompositionContainer classes. FxCop is raising CA2000 warning to call Dispose method on these objects before all references to it are out of scope. Can you let me know if it is compulsory to call Dispose method, if yes - when exactly.

Thank you,

Rajesh