ProtectionPolicyManager.ProtectedContentRevoked ProtectionPolicyManager.ProtectedContentRevoked ProtectionPolicyManager.ProtectedContentRevoked ProtectionPolicyManager.ProtectedContentRevoked ProtectionPolicyManager.ProtectedContentRevoked Event

Definition

Note

Windows Information Protection (WIP) policy cannot be applied on Windows 10, version 1511 (build 10586) or earlier.

Event with which your app registers to receive notification that protection is to be revoked. When your app receives this event, it should determine from ProtectedContentRevokedEventArgs.Identities which enterprise entities have had protection revoked, and call RevokeContent as well as delete any metadata associated with the identity. This event is not raised when your app calls RevokeContent to revoke its own access.

public : event EventHandler<ProtectedContentRevokedEventArgs> ProtectedContentRevoked
// Register
event_token ProtectedContentRevoked(EventHandler<ProtectedContentRevokedEventArgs> const& handler) const;

// Revoke with event_token
void ProtectedContentRevoked(event_token const& cookie) const;

// Revoke with event_revoker
ProtectedContentRevoked_revoker ProtectedContentRevoked(auto_revoke_t, EventHandler<ProtectedContentRevokedEventArgs> const& handler) const;
public event EventHandler<ProtectedContentRevokedEventArgs> ProtectedContentRevoked
Public Event ProtectedContentRevoked As EventHandler (Of ProtectedContentRevokedEventArgs)
function onProtectedContentRevoked(eventArgs){/* Your code */}


protectionPolicyManager.addEventListener("protectedcontentrevoked", onProtectedContentRevoked);
protectionPolicyManager.removeEventListener("protectedcontentrevoked", onProtectedContentRevoked);

See also