Поделиться через


WindowsUpdateManager.ScanCompleted Событие

Определение

Возникает при завершении проверки на наличие обновлений.

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

Тип события

Применяется к

См. также раздел