![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
Deployment Tools Foundation
Transaction Constructor (name, attributes)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Transaction ► Transaction(String, TransactionAttributes)
[MSI 4.5] Begins transaction processing of a multi-package installation.
![](collapse_all.gif)
C# | Visual Basic | Visual C++ |
public Transaction( string name, TransactionAttributes attributes )
Public Sub New ( name As String, attributes As TransactionAttributes )
public: Transaction( String^ name, TransactionAttributes attributes )
![](collapse_all.gif)
- name (String)
- Name of the multi-package installation.
- attributes (TransactionAttributes)
- Select optional behavior when beginning the transaction.
![](collapse_all.gif)
Win32 MSI API: MsiBeginTransaction
![](collapse_all.gif)
Exception | Condition |
---|---|
InstallerException | The transaction could not be initialized. |
Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.9.1006.0)