Compartilhar via


WindowsUpdateManager.ProgressChanged Evento

Definição

Gerado quando o progresso é alterado para uma atualização.

// Register
event_token ProgressChanged(TypedEventHandler<WindowsUpdateManager, WindowsUpdateProgressChangedEventArgs const&> const& handler) const;

// Revoke with event_token
void ProgressChanged(event_token const* cookie) const;

// Revoke with event_revoker
WindowsUpdateManager::ProgressChanged_revoker ProgressChanged(auto_revoke_t, TypedEventHandler<WindowsUpdateManager, WindowsUpdateProgressChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<WindowsUpdateManager,WindowsUpdateProgressChangedEventArgs> ProgressChanged;
function onProgressChanged(eventArgs) { /* Your code */ }
windowsUpdateManager.addEventListener("progresschanged", onProgressChanged);
windowsUpdateManager.removeEventListener("progresschanged", onProgressChanged);
- or -
windowsUpdateManager.onprogresschanged = onProgressChanged;
Public Custom Event ProgressChanged As TypedEventHandler(Of WindowsUpdateManager, WindowsUpdateProgressChangedEventArgs) 

Tipo de evento

Aplica-se a

Confira também