Share via


UndoManager.OnInterveningUnitBlockingLinkedUndo Method

Indicates that the undo manager is blocking another undo manager from executing a linked action.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)

Syntax

'Declaration
Public Overridable Function OnInterveningUnitBlockingLinkedUndo As Integer
public virtual int OnInterveningUnitBlockingLinkedUndo()
public:
virtual int OnInterveningUnitBlockingLinkedUndo()
abstract OnInterveningUnitBlockingLinkedUndo : unit -> int 
override OnInterveningUnitBlockingLinkedUndo : unit -> int 
public function OnInterveningUnitBlockingLinkedUndo() : int

Return Value

Type: System.Int32

Implements

IVsLinkedUndoClient.OnInterveningUnitBlockingLinkedUndo()

Remarks

This can occur in the case of strictly linked undo across multiple documents. The default implementation returns E_FAIL, which causes the shell to tell the user that the undo cannot be completed.

.NET Framework Security

See Also

Reference

UndoManager Class

Microsoft.VisualStudio.Modeling.Shell Namespace