Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Installer::Committing Event

 

Occurs before the installers in the Installers property committ their installations.

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

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

The following example demonstrates the Committing event. It is raised by the OnCommitting method.

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

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

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft