다음을 통해 공유


WindowsIntegrityPolicy.PolicyChanged 이벤트

정의

현재 Windows 10 보안 모드(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) 

이벤트 유형

적용 대상