Completes the install transaction.
[Visual Basic] Overridable Public Sub Commit( _ ByVal savedState As IDictionary _ ) [C#] public virtual void Commit( IDictionary savedState ); [C++] public: virtual void Commit( IDictionary* savedState ); [JScript] public function Commit( savedState : IDictionary );
Exception Type | Condition |
---|---|
ArgumentException | savedState is a null reference (in Visual Basic Nothing)
-or- The saved state IDictionary may have been corrupted. |
This method will be called only if the Install methods of all installers in this instance's InstallerCollection succeed. It calls the Commit method of each installer in the collection.
Notes to Inheritors: If you override the Commit method in a derived class, be sure to call the base class's Commit method.
Installer Class | Installer Members | System.Configuration.Install Namespace | Install | Uninstall | Rollback | InstallerCollection | Installers