WindowsIntegrityPolicy.PolicyChanged Ereignis

Definition

Wird ausgelöst, wenn sich der aktuelle Windows 10 sicheren Modus (10 S-Modus) ändert.

// Register
static event_token PolicyChanged(EventHandler<IInspectable> const& handler) const;

// Revoke with event_token
static void PolicyChanged(event_token const* cookie) const;

// Revoke with event_revoker
static WindowsIntegrityPolicy::PolicyChanged_revoker PolicyChanged(auto_revoke_t, EventHandler<IInspectable> const& handler) const;
public static event System.EventHandler<object> PolicyChanged;
function onPolicyChanged(eventArgs) { /* Your code */ }
Windows.System.Profile.WindowsIntegrityPolicy.addEventListener("policychanged", onPolicyChanged);
Windows.System.Profile.WindowsIntegrityPolicy.removeEventListener("policychanged", onPolicyChanged);
- or -
Windows.System.Profile.WindowsIntegrityPolicy.onpolicychanged = onPolicyChanged;
Public Shared Custom Event PolicyChanged As EventHandler(Of Object) 

Ereignistyp

Gilt für: