UndoableGraphTransactionScope Class

 

This is a special graph transaction scope that can be used for undoable edits (that appear in the host application undo stack).

Namespace:   Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

System.Object
  Microsoft.VisualStudio.GraphModel.GraphTransactionScope
    Microsoft.VisualStudio.GraphModel.UndoableGraphTransactionScope

public class UndoableGraphTransactionScope : GraphTransactionScope

NameDescription
System_CAPS_pubmethodUndoableGraphTransactionScope(Object, String, UndoOption)

Construct a new UndoableGraphTransactionScope

System_CAPS_pubmethodUndoableGraphTransactionScope(Object, UndoOption)

Construct a new UndoableGraphTransactionScope

System_CAPS_pubmethodUndoableGraphTransactionScope(String)

Construct a new UndoableGraphTransactionScope

System_CAPS_pubmethodUndoableGraphTransactionScope(UndoOption)

Construct a new UndoableGraphTransactionScope

NameDescription
System_CAPS_pubpropertyScopeProperties

The property bag associated with this scope.(Inherited from GraphTransactionScope.)

NameDescription
System_CAPS_pubmethodComplete()

Mark us as completed. Dispose will check this and if this wasn't called, the transaction will abort.(Inherited from GraphTransactionScope.)

System_CAPS_pubmethodDispose()

IDisposable.Dispose.(Inherited from GraphTransactionScope.)

System_CAPS_protmethodDispose(Boolean)
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticGetUndoDescription(Dictionary<Object, Object>)

Get the undo description from the given transaction scope properties.

System_CAPS_pubmethodSystem_CAPS_staticGetUndoId(Dictionary<Object, Object>)

Get the Id associated with the given GraphTransactionEnlistment

System_CAPS_pubmethodSystem_CAPS_staticGetUndoOption(Dictionary<Object, Object>)

Get the UndoOption associated from the given transaction scope properties.

System_CAPS_pubmethodSystem_CAPS_staticIsForceAdd(Dictionary<Object, Object>)

Get if the transaction is marked as "force add", which will create an undo unit even if it is empty.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubeventDisposed

Will be notified when this scope is disposed

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

Return to top
Show: