Rollback Method

DTF API

Copy image CopyHover image
Deployment Tools Foundation Rollback Method
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerTransactionRollback()()()()
Ends the install transaction and undoes changes to the system belonging to the transaction.
Declaration Syntax
C# Visual Basic Visual C++ F#
public void Rollback()
Public Sub Rollback
public:
void Rollback()
member Rollback : unit -> unit 
Remarks

This method can only be called by the current owner of the transaction.

Win32 MSI API: MsiEndTransaction

Exceptions
Exception Condition
InstallerException The transaction could not be rolled back.

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.11.1.2318)