WindowsUpdateManager.ActionCompleted 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 an action has been completed for an update.
// Register
event_token ActionCompleted(TypedEventHandler<WindowsUpdateManager, WindowsUpdateActionCompletedEventArgs const&> const& handler) const;
// Revoke with event_token
void ActionCompleted(event_token const* cookie) const;
// Revoke with event_revoker
WindowsUpdateManager::ActionCompleted_revoker ActionCompleted(auto_revoke_t, TypedEventHandler<WindowsUpdateManager, WindowsUpdateActionCompletedEventArgs const&> const& handler) const;
public event TypedEventHandler<WindowsUpdateManager,WindowsUpdateActionCompletedEventArgs> ActionCompleted;
function onActionCompleted(eventArgs) { /* Your code */ }
windowsUpdateManager.addEventListener("actioncompleted", onActionCompleted);
windowsUpdateManager.removeEventListener("actioncompleted", onActionCompleted);
- or -
windowsUpdateManager.onactioncompleted = onActionCompleted;
Public Custom Event ActionCompleted As TypedEventHandler(Of WindowsUpdateManager, WindowsUpdateActionCompletedEventArgs)