ProtectionPolicyManager.ProtectedContentRevoked Ereignis

Definition

Hinweis

Ab Juli 2022 stellt Microsoft Windows Information Protection (WIP) und die APIs, die WIP unterstützen, als veraltet fest. Microsoft wird WIP weiterhin auf unterstützten Versionen von Windows unterstützen. Neue Versionen von Windows enthalten keine neuen Funktionen für WIP und werden in zukünftigen Versionen von Windows nicht unterstützt. Weitere Informationen finden Sie unter Ankündigung des Sonnenuntergangs von Windows Information Protection.

Für Ihre Datenschutzanforderungen empfiehlt Microsoft, dass Sie Microsoft Purview Information Protection und Microsoft Purview Data Loss Prevention verwenden. Purview vereinfacht die Konfiguration und bietet einen erweiterten Satz von Funktionen.

Ereignis, mit dem sich Ihre App registriert, um eine Benachrichtigung zu erhalten, dass der Schutz widerrufen werden soll. Wenn Ihre App dieses Ereignis empfängt, sollte sie von ProtectedContentRevokedEventArgs.Identities ermitteln, welche Unternehmensentitäten den Schutz widerrufen haben, und RevokeContent aufrufen und alle metadaten löschen, die der Identität zugeordnet sind. Dieses Ereignis wird nicht ausgelöst, wenn Ihre App RevokeContent aufruft, um den eigenen Zugriff zu widerrufen.

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

Ereignistyp

Windows-Anforderungen

App-Funktionen
enterpriseDataPolicy

Gilt für:

Weitere Informationen