Share via


ProtectionPolicyManager.ProtectedContentRevoked 이벤트

정의

참고

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

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

보호가 해지되어야 한다는 알림을 받기 위해 앱이 등록하는 이벤트입니다. 앱이 이 이벤트를 수신하면 보호가 해지된 엔터프라이즈 엔터티가 있는 ProtectedContentRevokedEventArgs.Identities 를 확인하고 RevokeContent 를 호출하고 ID와 연결된 메타데이터를 삭제해야 합니다. 이 이벤트는 앱이 RevokeContent 를 호출하여 자체 액세스를 해지할 때 발생하지 않습니다.

// Register
static event_token ProtectedContentRevoked(EventHandler<ProtectedContentRevokedEventArgs> const& handler) const;

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

// Revoke with event_revoker
static ProtectionPolicyManager::ProtectedContentRevoked_revoker ProtectedContentRevoked(auto_revoke_t, EventHandler<ProtectedContentRevokedEventArgs> const& handler) const;
public static event System.EventHandler<ProtectedContentRevokedEventArgs> ProtectedContentRevoked;
function onProtectedContentRevoked(eventArgs) { /* Your code */ }
Windows.Security.EnterpriseData.ProtectionPolicyManager.addEventListener("protectedcontentrevoked", onProtectedContentRevoked);
Windows.Security.EnterpriseData.ProtectionPolicyManager.removeEventListener("protectedcontentrevoked", onProtectedContentRevoked);
- or -
Windows.Security.EnterpriseData.ProtectionPolicyManager.onprotectedcontentrevoked = onProtectedContentRevoked;
Public Shared Custom Event ProtectedContentRevoked As EventHandler(Of ProtectedContentRevokedEventArgs) 

이벤트 유형

Windows 요구 사항

앱 기능
enterpriseDataPolicy

적용 대상

추가 정보