UndoUnit Constructor (IServiceProvider, Context, TransactionCommitHandler, DescriptionHandler)

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

Syntax

'宣言
Public Sub New ( _
    serviceProvider As IServiceProvider, _
    context As Context, _
    commitHandler As TransactionCommitHandler, _
    descriptionHandler As DescriptionHandler _
)
'使用
Dim serviceProvider As IServiceProvider
Dim context As Context
Dim commitHandler As TransactionCommitHandler
Dim descriptionHandler As DescriptionHandler

Dim instance As New UndoUnit(serviceProvider, _
    context, commitHandler, descriptionHandler)
public UndoUnit(
    IServiceProvider serviceProvider,
    Context context,
    TransactionCommitHandler commitHandler,
    DescriptionHandler descriptionHandler
)
public:
UndoUnit(
    IServiceProvider^ serviceProvider, 
    Context^ context, 
    TransactionCommitHandler^ commitHandler, 
    DescriptionHandler^ descriptionHandler
)
public function UndoUnit(
    serviceProvider : IServiceProvider, 
    context : Context, 
    commitHandler : TransactionCommitHandler, 
    descriptionHandler : DescriptionHandler
)

Parameters

Permissions

See Also

Reference

UndoUnit Class

UndoUnit Members

UndoUnit Overload

Microsoft.VisualStudio.Modeling.Shell Namespace