Represents a single composition operation for transactional composition.
public ref class AtomicComposition : IDisposable
public class AtomicComposition : IDisposable
type AtomicComposition = class interface IDisposable
Public Class AtomicComposition Implements IDisposable
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
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.
Initializes a new instance of the AtomicComposition class.
Adds an action to be executed when the overall composition operation completes successfully.
Adds an action to be executed if the overall composition operation fails.
Marks this composition operation as complete.
Releases all resources used by the current instance of the AtomicComposition class, and mark this composition operation as failed.
Releases the unmanaged resources used by the AtomicComposition and optionally releases the managed resources.
Determines whether the specified object is equal to the current object.(Inherited from Object)
Serves as the default hash function.(Inherited from Object)
Gets the Type of the current instance.(Inherited from Object)
Creates a shallow copy of the current Object.(Inherited from Object)
Saves a key-value pair in the transaction to track tentative state.
Returns a string that represents the current object.(Inherited from Object)
|TryGetValue<T>(Object, Boolean, T)||
Gets a value saved by the SetValue(Object, Object) method, with the option of not searching parent transactions.
Gets a value saved by the SetValue(Object, Object) method.