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
声明
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.