An editing scope represents a collection of changes to the ModelItem tree that can be committed or rolled back as one atomic unit of work.
public ref class EditingScope : System::Activities::Presentation::Model::ModelEditingScope
public class EditingScope : System.Activities.Presentation.Model.ModelEditingScope
type EditingScope = class inherit ModelEditingScope
Public Class EditingScope Inherits ModelEditingScope
This is useful for batching together a set of changes to multiple ModelItem objects. As an example, in the messaging activities, the changes made from the raised dialogs will impact multiple property values. However, as all of the changes come from the raised dialog, the changes need to be considered as a batch and undone as a single unit of work. For more details on usage, see the Editing Scope sample
Gets a list of changes.
Describes the group of changes. It can be changed anytime before the changes are committed.(Inherited from ModelEditingScope)
Gets a Boolean that specifies whether changes have been applied to the editing scope.
Determines whether the current editing scope instance can complete.
Completes the editing scope by calling the OnComplete() method.(Inherited from ModelEditingScope)
Disposes of this object by aborting changes unless the editing scope has already been completed or reverted.(Inherited from ModelEditingScope)
Disposes of this object by aborting changes.(Inherited from ModelEditingScope)
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)
Raises the Complete event.
Handles the specified exception.
Raises the Revert event.
Abandons the changes made during the editing scope.(Inherited from ModelEditingScope)
Returns a string that represents the current object.(Inherited from Object)