Delen via


UndoUnit Constructor (IServiceProvider, Context, TransactionItem)

Constructs a new undo unit.

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, _
    transactionItem As TransactionItem _
)
public UndoUnit(
    IServiceProvider serviceProvider,
    Context context,
    TransactionItem transactionItem
)
public:
UndoUnit(
    IServiceProvider^ serviceProvider, 
    Context^ context, 
    TransactionItem^ transactionItem
)
new : 
        serviceProvider:IServiceProvider * 
        context:Context * 
        transactionItem:TransactionItem -> UndoUnit
public function UndoUnit(
    serviceProvider : IServiceProvider, 
    context : Context, 
    transactionItem : TransactionItem
)

Parameters

.NET Framework Security

See Also

Reference

UndoUnit Class

UndoUnit Overload

Microsoft.VisualStudio.Modeling.Shell Namespace