Releases all resources used by the current instance of the AtomicComposition class, and mark this composition operation as failed.
Assembly: System.ComponentModel.Composition (in System.ComponentModel.Composition.dll)
Call Dispose when you are finished using the AtomicComposition. The Dispose method leaves the AtomicComposition in an unusable state. After calling Dispose, you must release all references to the AtomicComposition so the garbage collector can reclaim the memory that the AtomicComposition was occupying.