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.
Declaration Syntax| 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 )
Parameters- name (String)
- Name of the multi-package installation.
- attributes (TransactionAttributes)
- Select optional behavior when beginning the transaction.
RemarksWin32 MSI API: MsiBeginTransaction
Exceptions| Exception | Condition |
|---|---|
| InstallerException | The transaction could not be initialized. |