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


WindowsUpdateManager.WorkingStateChanged Событие

Определение

Вызывается при изменении рабочего состояния.

// Register
event_token WorkingStateChanged(TypedEventHandler<WindowsUpdateManager, IInspectable const&> const& handler) const;

// Revoke with event_token
void WorkingStateChanged(event_token const* cookie) const;

// Revoke with event_revoker
WindowsUpdateManager::WorkingStateChanged_revoker WorkingStateChanged(auto_revoke_t, TypedEventHandler<WindowsUpdateManager, IInspectable const&> const& handler) const;
public event TypedEventHandler<WindowsUpdateManager,object> WorkingStateChanged;
function onWorkingStateChanged(eventArgs) { /* Your code */ }
windowsUpdateManager.addEventListener("workingstatechanged", onWorkingStateChanged);
windowsUpdateManager.removeEventListener("workingstatechanged", onWorkingStateChanged);
- or -
windowsUpdateManager.onworkingstatechanged = onWorkingStateChanged;
Public Custom Event WorkingStateChanged As TypedEventHandler(Of WindowsUpdateManager, Object) 

Тип события

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