WindowsUpdateManager.ScanCompleted 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 a scan for updates completes.
// Register
event_token ScanCompleted(TypedEventHandler<WindowsUpdateManager, WindowsUpdateScanCompletedEventArgs const&> const& handler) const;
// Revoke with event_token
void ScanCompleted(event_token const* cookie) const;
// Revoke with event_revoker
WindowsUpdateManager::ScanCompleted_revoker ScanCompleted(auto_revoke_t, TypedEventHandler<WindowsUpdateManager, WindowsUpdateScanCompletedEventArgs const&> const& handler) const;
public event TypedEventHandler<WindowsUpdateManager,WindowsUpdateScanCompletedEventArgs> ScanCompleted;
function onScanCompleted(eventArgs) { /* Your code */ }
windowsUpdateManager.addEventListener("scancompleted", onScanCompleted);
windowsUpdateManager.removeEventListener("scancompleted", onScanCompleted);
- or -
windowsUpdateManager.onscancompleted = onScanCompleted;
Public Custom Event ScanCompleted As TypedEventHandler(Of WindowsUpdateManager, WindowsUpdateScanCompletedEventArgs)