WindowsUpdateManager.WorkingStateChanged Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)