WindowsUpdateManager.ProgressChanged Evento
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Generato quando lo stato di avanzamento cambia per un aggiornamento.
// 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)