Share via


ModelEditingScope Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Represents a group of changes to the editing store. Change groups are transactional. The changes made under an editing scope can be committed or aborted as a unit.

Namespace:  System.Activities.Design.Model
Assembly:  System.Activities.Design.Base (in System.Activities.Design.Base.dll)

Syntax

'Declaration
Public MustInherit Class ModelEditingScope _
    Implements IDisposable
'Usage
Dim instance As ModelEditingScope
public abstract class ModelEditingScope : IDisposable
public ref class ModelEditingScope abstract : IDisposable
public abstract class ModelEditingScope implements IDisposable
[<AbstractClassAttribute>]
type ModelEditingScope =  
    class
        interface IDisposable
    end

Remarks

When an editing scope is committed, the editing store takes all changes that occurred within it and applies them to the model. If the editing scope’s Revert() method is called, or the editing scope is disposed of before Complete() is called, the editing scope will instead reverse the changes made to the underlying objects, reapplying state from the editing store. This provides a solid basis for an undo mechanism.

Inheritance Hierarchy

System.Object
  System.Activities.Design.Model.ModelEditingScope
    System.Activities.Design.ModelTree.EditingScope

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 4

See Also

Reference

ModelEditingScope Members

System.Activities.Design.Model Namespace