共用方式為


TargetedContentSubscription.ContentChanged 事件

定義

發生于此訂用帳戶中的內容變更時。

// Register
event_token ContentChanged(TypedEventHandler<TargetedContentSubscription, TargetedContentChangedEventArgs const&> const& handler) const;

// Revoke with event_token
void ContentChanged(event_token const* cookie) const;

// Revoke with event_revoker
TargetedContentSubscription::ContentChanged_revoker ContentChanged(auto_revoke_t, TypedEventHandler<TargetedContentSubscription, TargetedContentChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<TargetedContentSubscription,TargetedContentChangedEventArgs> ContentChanged;
function onContentChanged(eventArgs) { /* Your code */ }
targetedContentSubscription.addEventListener("contentchanged", onContentChanged);
targetedContentSubscription.removeEventListener("contentchanged", onContentChanged);
- or -
targetedContentSubscription.oncontentchanged = onContentChanged;
Public Custom Event ContentChanged As TypedEventHandler(Of TargetedContentSubscription, TargetedContentChangedEventArgs) 

事件類型

Windows 需求

應用程式功能
secondaryAuthenticationFactor

適用於

另請參閱