WindowsUpdateManager.ProgressChanged Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)