共用方式為


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) 

事件類型

適用於

另請參閱