WindowsUpdateManager.AttentionRequiredReasonChanged Événement
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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)