Ler em inglês

Partilhar via


Installer.Committed Evento

Definição

Ocorre depois que todos os instaladores na propriedade Installers confirmaram suas instalações.

C#
public event System.Configuration.Install.InstallEventHandler Committed;

Tipo de evento

Exemplos

O exemplo a seguir demonstra o Committed evento . Ele é gerado pelo OnCommitted método .

C#
public MyInstallerClass() :base()
{
   // Attach the 'Committed' event.
   this.Committed += new InstallEventHandler(MyInstaller_Committed);
}

// Event handler for 'Committed' event.
private void MyInstaller_Committed(object sender, InstallEventArgs e)
{
   Console.WriteLine("Committed Event occurred.");
}

Aplica-se a

Produto Versões
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Confira também