Share via


WindowsUpdateManager.ProgressChanged Event

Definition

Raised when the progress changes for an update.

// 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) 

Event Type

Applies to

See also