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.
Remarks
Win32 MSI API: MsiBeginTransaction
Exceptions
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)