Represents a single composition operation for transactional composition.
Assembly: System.ComponentModel.Composition (in System.ComponentModel.Composition.dll)
Thetype exposes the following members.
|AddCompleteAction||Adds an action to be executed when the overall composition operation completes successfully.|
|AddRevertAction||Adds an action to be executed if the overall composition operation fails.|
|Complete||Marks this composition operation as complete.|
|Dispose()||Releases all resources used by the current instance of the class, and mark this composition operation as failed.|
|Dispose(Boolean)||Releases the unmanaged resources used by the and optionally releases the managed resources.|
|Equals(Object)||Determines whether the specified object is equal to the current object. (Inherited from Object.)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)|
|GetHashCode||Serves as the default hash function. (Inherited from Object.)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|SetValue||Saves a key-value pair in the transaction to track tentative state.|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
|TryGetValue<T>(Object, T%)||Gets a value saved by the SetValue method.|
|TryGetValue<T>(Object, Boolean, T%)||Gets a value saved by the SetValue method, with the option of not searching parent transactions.|
This type implements the IDisposable interface. When you have finished using the type, you should dispose of it either directly or indirectly. To dispose of the type directly, call its Dispose method in a try/catch block. To dispose of it indirectly, use a language construct such as using (in C#) or Using (in Visual Basic). For more information, see the “Using an Object that Implements IDisposable” section in the IDisposable interface topic.