Поделиться через


WindowsUpdateManager.AttentionRequiredReasonChanged Событие

Определение

Возникает при изменении требуемой причины для обновления.

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

Тип события

Применяется к

См. также раздел