Condividi tramite


WindowsIntegrityPolicy.PolicyChanged Evento

Definizione

Generato quando viene modificata la modalità protetta corrente Windows 10 (modalità 10 S).

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

Tipo evento

Si applica a