Share via


WindowsUpdateManager.WorkingStateChanged Event

Definition

Raised when the working state changes.

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

Event Type

Applies to