Export (0) Print
Expand All

ModelEditingScope Methods

The ModelEditingScope type exposes the following members.

  Name Description
Protected method CanComplete Determines whether OnComplete should be called, or whether the change should instead be reverted. Reasons for reverting might include a file cannot be checked out of a source control system for modification.
Public method Complete Completes the editing scope by calling the OnComplete method.
Public method Dispose() Disposes of this object by aborting changes unless the editing scope has already been completed or reverted.
Protected method Dispose(Boolean) Disposes of this object by aborting changes.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnComplete Performs the actual complete of the editing scope.
Protected method OnException Handles an exception.
Protected method OnRevert Performs the actual revert of the editing scope.
Public method Revert Abandons the changes made during the editing scope.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
© 2014 Microsoft