Partager via


WindowsUpdateManager.WorkingStateChanged Événement

Définition

Déclenché lorsque l’état de fonctionnement change.

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

Type d'événement

S’applique à