SmartAppControlPolicy.Changed Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This event is invoked when the Smart App Control state changes.
// Register
static event_token Changed(EventHandler<IInspectable> const& handler) const;
// Revoke with event_token
static void Changed(event_token const* cookie) const;
// Revoke with event_revoker
static SmartAppControlPolicy::Changed_revoker Changed(auto_revoke_t, EventHandler<IInspectable> const& handler) const;
public static event System.EventHandler<object> Changed;
function onChanged(eventArgs) { /* Your code */ }
Windows.System.Profile.SmartAppControlPolicy.addEventListener("changed", onChanged);
Windows.System.Profile.SmartAppControlPolicy.removeEventListener("changed", onChanged);
- or -
Windows.System.Profile.SmartAppControlPolicy.onchanged = onChanged;
Public Shared Custom Event Changed As EventHandler(Of Object)