Partager via


WindowsUpdateManager.AttentionRequiredReasonChanged Événement

Définition

Déclenché lorsque la raison de l’attention requise a changé pour une mise à jour.

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

Type d'événement

S’applique à

Voir aussi