WindowsUpdateManager.AttentionRequiredReasonChanged 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 attention required reason changed for an update.
// Register
event_token AttentionRequiredReasonChanged(TypedEventHandler<WindowsUpdateManager, WindowsUpdateAttentionRequiredReasonChangedEventArgs const&> const& handler) const;
// Revoke with event_token
void AttentionRequiredReasonChanged(event_token const* cookie) const;
// Revoke with event_revoker
WindowsUpdateManager::AttentionRequiredReasonChanged_revoker AttentionRequiredReasonChanged(auto_revoke_t, TypedEventHandler<WindowsUpdateManager, WindowsUpdateAttentionRequiredReasonChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<WindowsUpdateManager,WindowsUpdateAttentionRequiredReasonChangedEventArgs> AttentionRequiredReasonChanged;
function onAttentionRequiredReasonChanged(eventArgs) { /* Your code */ }
windowsUpdateManager.addEventListener("attentionrequiredreasonchanged", onAttentionRequiredReasonChanged);
windowsUpdateManager.removeEventListener("attentionrequiredreasonchanged", onAttentionRequiredReasonChanged);
- or -
windowsUpdateManager.onattentionrequiredreasonchanged = onAttentionRequiredReasonChanged;
Public Custom Event AttentionRequiredReasonChanged As TypedEventHandler(Of WindowsUpdateManager, WindowsUpdateAttentionRequiredReasonChangedEventArgs)