WindowsUpdateManager.ActionCompleted 事件

定义

在完成更新的操作时引发。

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

事件类型

适用于

另请参阅