Share via


WindowsUpdateManager.ActionCompleted Événement

Définition

Déclenché lorsqu’une action a été effectuée pour une mise à jour.

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

Type d'événement

S’applique à

Voir aussi