LinkedTransaction Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
LinkedTransaction(String, IServiceProvider) |
Create a transaction that can potentially span multiple designers. First opens a linked undo transaction, then opens an IMS transaction. This version uses the currently opened document. |
LinkedTransaction(String, IServiceProvider, ModelingDocData) |
Create a transaction that can potentially span multiple designers. First opens a linked undo transaction, then opens an IMS transaction. |
LinkedTransaction(String, IServiceProvider)
Create a transaction that can potentially span multiple designers. First opens a linked undo transaction, then opens an IMS transaction. This version uses the currently opened document.
public:
LinkedTransaction(System::String ^ description, IServiceProvider ^ serviceProvider);
public LinkedTransaction (string description, IServiceProvider serviceProvider);
new Microsoft.VisualStudio.Modeling.Shell.LinkedTransaction : string * IServiceProvider -> Microsoft.VisualStudio.Modeling.Shell.LinkedTransaction
Public Sub New (description As String, serviceProvider As IServiceProvider)
Parameters
- description
- String
description which appears in the undo/redo drop-down menus
- serviceProvider
- IServiceProvider
service provider used to get IVsLinkedUndoTransactionManager
Applies to
LinkedTransaction(String, IServiceProvider, ModelingDocData)
Create a transaction that can potentially span multiple designers. First opens a linked undo transaction, then opens an IMS transaction.
public:
LinkedTransaction(System::String ^ description, IServiceProvider ^ serviceProvider, Microsoft::VisualStudio::Modeling::Shell::ModelingDocData ^ docData);
public LinkedTransaction (string description, IServiceProvider serviceProvider, Microsoft.VisualStudio.Modeling.Shell.ModelingDocData docData);
new Microsoft.VisualStudio.Modeling.Shell.LinkedTransaction : string * IServiceProvider * Microsoft.VisualStudio.Modeling.Shell.ModelingDocData -> Microsoft.VisualStudio.Modeling.Shell.LinkedTransaction
Public Sub New (description As String, serviceProvider As IServiceProvider, docData As ModelingDocData)
Parameters
- description
- String
description which appears in the undo/redo drop-down menus
- serviceProvider
- IServiceProvider
service provider used to get IVsLinkedUndoTransactionManager
- docData
- ModelingDocData
DocData initiating the linked transaction.