UndoUnit Constructor (IServiceProvider, Context, TransactionItem)
Constructs a new undo unit.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaração
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
- serviceProvider
Type: System.IServiceProvider
- context
Type: Microsoft.VisualStudio.Modeling.Context
- transactionItem
Type: Microsoft.VisualStudio.Modeling.TransactionItem
The transactionItem to wrap.
.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.