Installer::Committed Event

 

Occurs after all the installers in the Installers property have committed their installations.

Namespace:   System.Configuration.Install
Assembly:  System.Configuration.Install (in System.Configuration.Install.dll)

public:
event InstallEventHandler^ Committed {
	void add(InstallEventHandler^ value);
	void remove(InstallEventHandler^ value);
}

The following example demonstrates the Committed event. It is raised by the OnCommitted method.

public:
   MyInstallerClass()
   {
      // Attach the 'Committed' event.
      this->Committed += gcnew InstallEventHandler( this, &MyInstallerClass::MyInstaller_Committed );
   }

private:
   // Event handler for 'Committed' event.
   void MyInstaller_Committed( Object^ sender, InstallEventArgs^ e )
   {
      Console::WriteLine( "Committed Event occured." );
   }

.NET Framework
Available since 1.1
Return to top
Show: