다음을 통해 공유


ProtectionPolicyManager.PolicyChanged 이벤트

정의

참고

2022년 7월부터 Microsoft는 WIP(Windows Information Protection) 및 WIP를 지원하는 API를 더 이상 사용하지 않습니다. Microsoft는 지원되는 Windows 버전에서 WIP를 계속 지원할 것입니다. 새 버전의 Windows는 WIP에 대한 새로운 기능을 포함하지 않으며 이후 버전의 Windows에서는 지원되지 않습니다. 자세한 내용은 Windows Information Protection 일몰 발표를 참조하세요.

데이터 보호 요구 사항에 따라 Microsoft Purview Information ProtectionMicrosoft Purview 데이터 손실 방지 사용하는 것이 좋습니다. Purview는 구성 설정을 간소화하고 고급 기능 집합을 제공합니다.

정책 CSP에서 관리하는 WIP(Windows Information Protection) 정책의 변경에 대한 응답으로 발생하는 이벤트입니다.

// 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 ProtectionPolicyManager::PolicyChanged_revoker PolicyChanged(auto_revoke_t, EventHandler<IInspectable> const& handler) const;
public static event System.EventHandler<object> PolicyChanged;
function onPolicyChanged(eventArgs) { /* Your code */ }
Windows.Security.EnterpriseData.ProtectionPolicyManager.addEventListener("policychanged", onPolicyChanged);
Windows.Security.EnterpriseData.ProtectionPolicyManager.removeEventListener("policychanged", onPolicyChanged);
- or -
Windows.Security.EnterpriseData.ProtectionPolicyManager.onpolicychanged = onPolicyChanged;
Public Shared Custom Event PolicyChanged As EventHandler(Of Object) 

이벤트 유형

Windows 요구 사항

디바이스 패밀리
Windows Desktop Extension SDK (10.0.10586.0에서 도입되었습니다.)
Windows Mobile Extension SDK (10.0.10586.0에서 도입되었습니다.)
API contract
Windows.Security.EnterpriseData.EnterpriseDataContract (v2.0에서 도입되었습니다.)

적용 대상