Transaction Constructor (name, attributes)

Microsoft Deployment Tools

Deployment Tools Foundation Transaction Constructor (name, attributes)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerTransactionTransaction(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) Version: 3.0.0.0 (3.5.1623.0)