Share via


WindowsUpdateManager.ScanCompleted Event

Definition

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) 

Event Type

Applies to

See also