Freigeben über


UndoUnit-Konstruktor (IServiceProvider, Context, TransactionCommitHandler)

Erstellt eine Rückgängig-Komponente ohne eine Transaktion, jedoch mit einem Delegaten, den sie verwenden kann, um später bei Bedarf die Transaktion zu erhalten.

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

Syntax

'Declaration
Public Sub New ( _
    serviceProvider As IServiceProvider, _
    context As Context, _
    commitHandler As TransactionCommitHandler _
)
public UndoUnit(
    IServiceProvider serviceProvider,
    Context context,
    TransactionCommitHandler commitHandler
)

Parameter

.NET Framework-Sicherheit

Siehe auch

Referenz

UndoUnit Klasse

UndoUnit-Überladung

Microsoft.VisualStudio.Modeling.Shell-Namespace